Skip to content

Commit

Permalink
improve specs and hopefully reduce flake
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiller1990 committed Aug 29, 2022
1 parent d52d637 commit 24d8718
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/app/cypress/e2e/studio/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export function launchStudio () {
cy.startAppServer('e2e')
cy.visitApp()
cy.get(`[data-cy-row="spec.cy.js"]`).click()
cy.visit(`http://localhost:4455/__/#/specs/runner?file=cypress/e2e/spec.cy.js`)

cy.waitForSpecToFinish()

Expand Down
2 changes: 1 addition & 1 deletion packages/app/cypress/e2e/studio/studio.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ it('visits a basic html page', () => {
cy.openProject('experimental-studio')
cy.startAppServer('e2e')
cy.visitApp()
cy.visit(`http://localhost:4455/__/#/specs/runner?file=cypress/e2e/empty.cy.js`)
cy.get(`[title="empty.cy.js"]`).should('be.visible').click()

cy.waitForSpecToFinish()

Expand Down

0 comments on commit 24d8718

Please sign in to comment.