Skip to content

Browser hangs and disconnects when testing against a url that contains a symbol and while using an experimental proxyless mode #7470

@ayemelyanenko-chegg

Description

@ayemelyanenko-chegg

What is your Scenario?

I am running a simple test against a url which contains a question mark and I am using the --experimental-proxyless parameter. The test hangs and browser disconnects in this case.

What is the Current behavior?

Upon running the test with experimental proxyless mode, the page loads but then the browser hangs and eventually disconnects.

Upon running the test without the experimental proxyless mode, the test succeeds each time.

What is the Expected behavior?

The expected behavior would be for the browser to not hang and then disconnect when running a test against a url that contains a symbol and while using proxyless mode

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

https://www.chegg.com/auth?login

What is your TestCafe test code?

fixture`Login page test`.meta({ fixtureID: 'f-0001', author: 'GDG', app: '' });

test.meta({
  priority: 'p1',
  testID: 't-0001',
  testType: 'Smoke',
  testRailCaseId: '267753',
})(
  'Login page test',
  async (t) => {
    await t.navigateTo(`https://www.chegg.com/auth?login`);
  }
);

Your complete configuration file

No response

Your complete test report

ERROR The Chrome 109.0.5414.74 / Linux 0.0 browser disconnected. If you did not close the browser yourself, browser performance or network issues may be at fault.
Type "testcafe -h" for help.
error Command failed with exit code 1.

Screenshots

No response

Steps to Reproduce

Steps 4 and 5 highlight the issue. The other steps are shows for comparison that urls that do not contains symbols appear to be working fine

  1. Testcafe version should be 2.2
  2. Run the sample code without the --experimental-proxyless option
  3. Test passes as expected
  4. Run the sample code with --experimental-proxyless option
  5. Test hangs and eventually the browser disconnects
  6. Run the sample code with --experimental-proxyless but adjust the url to not contain the question mark (https://www.chegg.com)
  7. Test passes as expected

TestCafe version

2.2.0

Node.js version

14.20.1

Command-line arguments

yarn testcafe chrome testcafe/tests/sampleTest.ts --experimental-proxyless
or
yarn testcafe chrome testcafe/tests/sampleTest.ts --experimental-proxyless -L

Browser name(s) and version(s)

Version 109.0.5414.87 (Official Build) (x86_64)

Platform(s) and version(s)

No response

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TYPE: bugThe described behavior is considered as wrong (bug).

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions