Flaky internal service-worker test on Firefox browser
jennifer-shehane opened this issue · comments
What would you like?
CircleCI failure: https://app.circleci.com/pipelines/github/cypress-io/cypress/61470/workflows/2786f457-f32c-45f3-8653-4623e006a71e/jobs/2554165
Able to reliably reproduce locally running these tests in this order. Note, any spec can be in the middle spec to recreate.
yarn cypress:run --browser firefox --spec cypress/e2e/e2e/abort_beforeunload_event_child.cy.ts cypress/e2e/e2e/origin/commands/spies_stubs_clocks.cy.ts cypress/e2e/e2e/service-worker.cy.js --runner-ui
There is a test opening a new window in Firefox. But in the other browsers, this just opens 1 tab.
cy.window().invoke('open', '/fixtures/blocking_beforeunload_event.html')
This only happens if we don't pass the 3rd option to window.open
.
Fails:
window.open('/fixtures/blocking_beforeunload_event.html', 'test')
Works:
window.open('/fixtures/blocking_beforeunload_event.html', 'test', 'popup')
Why is this needed?
We should be closing all windows in between specs. This may be affecting users of Cypress in odd ways.
Other
No response
Released in 13.9.0
.
This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.9.0, please open a new issue.