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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Current behavior
If the second it block tries to visit a different domain, Cypress 14 throws the following error:
Expected behavior
Both tests should run independently and be able to visit different domains without errors.
Actual behavior
The second test does not run. Cypress opens the browser, but the test immediately fails with:
"No commands were issued in this test."
It seems that when trying to visit a different origin in the second it block, Cypress resets the test and doesn't execute any commands.
Additional info
This behavior did not occur in Cypress 13 and earlier versions.
The issue likely relates to changes in origin handling introduced in Cypress 14+ (e.g., the removal of document.domain usage).
Cypress version
Cypress: 14.x+
On cypress 13 all was good

Beta Was this translation helpful? Give feedback.
All reactions