DevExpress / testcafe

A Node.js tool to automate end-to-end web testing.
https://testcafe.io
MIT License
9.82k stars 670 forks source link

Proxyless does not work correctly when open second browser window #7599

Closed wombatka closed 1 year ago

wombatka commented 1 year ago

What is your Scenario?

In my test I open second browser window using experimental-proxyless

What is the Current behavior?

The url is incorrect in the second window

What is the Expected behavior?

The url should be correct

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

In the example beforeEach method opens an url- url is ok in test i open another window with another url\ Url is incorrect image

What is your TestCafe test code?

file: example.js

fixtureOpen navigation .beforeEach(async t => { await t.navigateTo("https://reactnavigation.org/docs/hello-react-navigation/");

})

test("Expand navigation", async t => { await t.openWindow("https://reactnavigation.org"); });

Your complete configuration file

no config file needed

Your complete test report

image

Screenshots

No response

Steps to Reproduce

1.open url 2.open window with other url 3.

TestCafe version

2.4.0

Node.js version

16.7.0

Command-line arguments

testcafe chrome --experimental-proxyless example.js -t "Expand navigation"

Browser name(s) and version(s)

Chrome 111 Linux

Platform(s) and version(s)

Linux Ubuntu 22

Other

No response

AlexKamaev commented 1 year ago

Thank you for sharing this. Currently, the proxyless mode is not supported in multiple window mode. Please use the '--disable-multiple-windows' flag.