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
When I try to visit random domain URL from the list, cypress open each domain, but should open one domain. And I have Error during WebSocket handshake 404/503 error (first screenshot) or open some not correct URL (second screenshot).
№1
№2
Desired behavior:
Open one random domain URL without any opens any other domains and errors.
Can reproduce this. Closing as a duplicate of #1987
// Requires 'npm i chance -D'letChance=require('chance')letchance=newChance()describe('Dynamic tests',function(){constdomains=['https://github.com','https://www.google.com','https://www.wikipedia.org']constrandomDomain=chance.pickone(domains)it(`Test domain: ${randomDomain}`,()=>{cy.visit(randomDomain)})})
Essentially the test is being rerun every time the superdomain under test changes, so that causes the randomDomain to be run again and set to a new domain, etc, forever.
Current behavior:
When I try to visit random domain URL from the list, cypress open each domain, but should open one domain. And I have
Error during WebSocket handshake 404/503
error (first screenshot) or open some not correct URL (second screenshot).№1
№2
Desired behavior:
Open one random domain URL without any opens any other domains and errors.
Steps to reproduce: (app code and test code)
And try to run this test several times.
Versions
The text was updated successfully, but these errors were encountered: