Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Automation: TestCafe hangs when it accesses text files. #7786

Closed
AlexKamaev opened this issue Jun 13, 2023 · 1 comment
Closed

Native Automation: TestCafe hangs when it accesses text files. #7786

AlexKamaev opened this issue Jun 13, 2023 · 1 comment
Labels
FREQUENCY: level 1 SYSTEM: native automation TYPE: bug The described behavior is considered as wrong (bug).

Comments

@AlexKamaev
Copy link
Contributor

AlexKamaev commented Jun 13, 2023

What is your Scenario?

Navigating to a text file causes TestCafe to hang.

What is the Current behavior?

After navigating to a text file, TestCafe becomes unresponsive.

What is the Expected behavior?

TestCafe should not hang when navigating to a text file.

What is your public website URL? (or attach your complete example)

Page

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="get" action="./file.txt">
    <button id="btn" type="submit">Go to file</button>
</form>
</body>
</html>

Test file:

// file.txt
Any text here

What is your TestCafe test code?

fixture`Interact With the Page`
    .page`./index.html`

test('Click', async t => {
    await t
        .click('#btn')
});

Your complete configuration file

No response

Your complete test report

No response

Screenshots

No response

Steps to Reproduce

  1. Launch TestCafe in Native Automation mode.
  2. TestCafe becomes unresponsive and hangs.

TestCafe version

3.0.0-rc.1

Node.js version

No response

Command-line arguments

testcafe chrome test.js

Browser name(s) and version(s)

Chromium-based

Platform(s) and version(s)

No response

Other

No response

@AlexKamaev AlexKamaev added the TYPE: bug The described behavior is considered as wrong (bug). label Jun 13, 2023
@AlexKamaev AlexKamaev changed the title Native Automation: Test execution hangs when trying to navigate to a text file. Native Automation: Test execution hangs when trying to navigate to a text file Jun 13, 2023
@aleks-pro aleks-pro changed the title Native Automation: Test execution hangs when trying to navigate to a text file Native Automation: Test execution hangs on an attempt to navigate to a text file Jun 14, 2023
@titerman titerman changed the title Native Automation: Test execution hangs on an attempt to navigate to a text file Native Automation: TestCafe hangs when it accesses text files. Jun 16, 2023
@miherlosev
Copy link
Collaborator

It's a synthetic scenario. We will not consider it until the first real-life user case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FREQUENCY: level 1 SYSTEM: native automation TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

No branches or pull requests

3 participants