cypress
cypress copied to clipboard
fix: preserve run actions when top changes (cy.visit) [CYCLOUD-2106]
- Closes CYCLOUD-2106
Additional details
Calling cy.visit()
replaces the top, which recreates the Cypress object, leading to losing the actions needed to drive the burn-in logic.
This PR adds logic to store actions on the server-side and retrieve them if available.
Steps to test
How has the user experience changed?
PR Tasks
- [x] Have tests been added/updated?
- [na] Has a PR for user-facing changes been opened in
cypress-documentation
? - [na] Have API changes been updated in the
type definitions
?
42 failed and 1 flaky tests on run #53479 ↗︎
![]() |
![]() |
![]() |
![]() |
![]() |
Details:
Merge branch 'feature/test-burn-in' into muaz/fix-actions-after-visit | |||
Project: cypress | Commit: 7cd90c6777 |
||
Status: Failed | Duration: 15:27 💡 | ||
Started: Jan 12, 2024 4:53 PM | Ended: Jan 12, 2024 5:09 PM |
cypress\e2e\runs.cy.ts • 2 failed tests • app-e2e
cypress\e2e\create-from-component.cy.ts • 4 failed tests • app-e2e
cypress\e2e\runner\reporter.command_errors.cy.ts • 13 failed tests • app-e2e
cypress\e2e\runner\runner.ui.cy.ts • 23 failed tests • app-e2e
The first 5 failed specs are shown, see all 30 specs in Cypress Cloud.
cypress\e2e\top-nav.cy.ts • 1 flaky test • app-e2e
Test | Artifacts | |
---|---|---|
... > when there is a project id > cancel button correctly clears error state |
Test Replay
Screenshots
|