Skip to content

Commit

Permalink
perf(cy.session): keep page state after validation runs (#23503)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyrohrbough authored Aug 26, 2022
1 parent e80e778 commit 9ba71c6
Show file tree
Hide file tree
Showing 7 changed files with 319 additions and 153 deletions.
4 changes: 2 additions & 2 deletions packages/app/cypress/e2e/runner/sessions.ui.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ describe('runner/cypress sessions.ui.spec', {
cy.contains('user1')
cy.contains('restored')

cy.get('.command-name-Clear-page').should('have.length', 2)
cy.get('.command-name-Clear-page').should('have.length', 1)

cy.contains('Restore saved session')

Expand Down Expand Up @@ -231,7 +231,7 @@ describe('runner/cypress sessions.ui.spec', {
.find('.command-expander')
.should('have.class', 'command-expander-is-open')

cy.get('.command-name-Clear-page').should('have.length', 3)
cy.get('.command-name-Clear-page').should('have.length', 2)

validateSetupSessionGroup(false)

Expand Down
Loading

0 comments on commit 9ba71c6

Please sign in to comment.