Skip to content

Commit

Permalink
test: fix flaky launchpad test (#21637)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachJW34 authored May 25, 2022
1 parent 2fb0cf9 commit 4e7edda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/launchpad/cypress/e2e/choose-a-browser.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ describe('Choose a Browser Page', () => {
cy.get('h1').should('contain', 'Choose a Browser')

cy.withCtx((ctx, o) => {
ctx.actions.project.launchProject = o.sinon.spy()
o.sinon.spy(ctx.actions.project, 'launchProject')
})

cy.intercept('mutation-OpenBrowser_LaunchProject', cy.stub().as('launchProject'))
Expand Down Expand Up @@ -251,7 +251,7 @@ describe('Choose a Browser Page', () => {
cy.openProject('launchpad', ['--e2e'])
cy.withCtx((ctx, o) => {
ctx.project.setRelaunchBrowser(true)
ctx.actions.project.launchProject = o.sinon.stub()
o.sinon.stub(ctx.actions.project, 'launchProject')
})

cy.visitLaunchpad()
Expand Down

3 comments on commit 4e7edda

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 4e7edda May 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.0.0/linux-x64/develop-4e7edda46345fe57f143c0e783e1d1664ffd458d/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 4e7edda May 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.0.0/darwin-x64/develop-4e7edda46345fe57f143c0e783e1d1664ffd458d/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 4e7edda May 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.0.0/win32-x64/develop-4e7edda46345fe57f143c0e783e1d1664ffd458d/cypress.tgz

Please sign in to comment.