You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my tests, it is necessary to open an html file locally in one of the tests. It is impossible to do this with baseUrl, so for this test I reset baseUrl, but subsequent tests continue to use baseUrl, which is set globally in cypress.json. I saw such a solution here - #4450 (comment)
In cypress 9.0.0 and below, this method worked, but in 9.1.0, the execution of tests freezes if, after a test with base Url = null, a test is run in which baseUrl is set globally. At the same time, the test runner continues to work until it is stopped manually. There is an error in the console
The execution of the tests continues correctly, just as it was in version 9.0.0.
And it is better to make it possible to visit local files with an existing baseUrl
The code for this is done in cypress-io/cypress#19239, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
Current behavior
In my tests, it is necessary to open an html file locally in one of the tests. It is impossible to do this with baseUrl, so for this test I reset baseUrl, but subsequent tests continue to use baseUrl, which is set globally in cypress.json. I saw such a solution here - #4450 (comment)
In cypress 9.0.0 and below, this method worked, but in 9.1.0, the execution of tests freezes if, after a test with base Url = null, a test is run in which baseUrl is set globally. At the same time, the test runner continues to work until it is stopped manually. There is an error in the console
www.cypress.io-1637826397522.log
Desired behavior
The execution of the tests continues correctly, just as it was in version 9.0.0.
And it is better to make it possible to visit local files with an existing baseUrl
Test code to reproduce
You can use any local html file for the test
in cypress.json
Cypress Version
9.1.0
Other
No response
The text was updated successfully, but these errors were encountered: