Skip to content

Commit

Permalink
test: increase a timeout to avoid failing on CI in Windows (#23346)
Browse files Browse the repository at this point in the history
* get path for platform in test

* run windows workflow

* increase timeout due to windows flake

* update a second timeout

* set timeouts to 12, move to proper command

Co-authored-by: Matt Henkes <mjhenkes@gmail.com>
  • Loading branch information
marktnoonan and mjhenkes authored Aug 16, 2022
1 parent 91beb90 commit 7dd4a14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ windowsWorkflowFilters: &windows-workflow-filters
or:
- equal: [ develop, << pipeline.git.branch >> ]
- equal: [ linux-arm64, << pipeline.git.branch >> ]
- equal: [ 'fix-or-skip-flaky-tests', << pipeline.git.branch >> ]
- equal: [ 'lmiller/windows-vite-fix', << pipeline.git.branch >> ]
- equal: [ 'marktnoonan/windows-path-fix', << pipeline.git.branch >> ]
- matches:
pattern: "-release$"
value: << pipeline.git.branch >>
Expand Down
4 changes: 2 additions & 2 deletions packages/app/cypress/e2e/specs.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ describe('App: Specs', () => {
})

// Timeout is increased here to allow ample time for the config change to be processed
cy.contains('src/e2e/**/*.{js,jsx}', { timeout: 10000 }).should('be.visible')
cy.contains('src/e2e/**/*.{js,jsx}', { timeout: 12000 }).should('be.visible')
cy.contains('No Specs Found').should('be.visible')

cy.findByRole('button', { name: 'New Spec' }).click()
Expand Down Expand Up @@ -824,7 +824,7 @@ describe('App: Specs', () => {
})

// Timeout is increased here to allow ample time for the config change to be processed
cy.contains('src/specs-folder/*.{js,jsx}').should('be.visible', { timeout: 12000 })
cy.contains('src/specs-folder/*.{js,jsx}', { timeout: 12000 }).should('be.visible')
cy.contains('No Specs Found').should('be.visible')

cy.findByRole('button', { name: 'New Spec' }).click()
Expand Down

5 comments on commit 7dd4a14

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 7dd4a14 Aug 16, 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.6.0/linux-x64/develop-7dd4a142ddeec7c1d1f6f48bf6dfd6ea6ba8ac54/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 7dd4a14 Aug 16, 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 arm64 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.6.0/linux-arm64/develop-7dd4a142ddeec7c1d1f6f48bf6dfd6ea6ba8ac54/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 7dd4a14 Aug 16, 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.6.0/darwin-x64/develop-7dd4a142ddeec7c1d1f6f48bf6dfd6ea6ba8ac54/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 7dd4a14 Aug 16, 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.6.0/win32-x64/develop-7dd4a142ddeec7c1d1f6f48bf6dfd6ea6ba8ac54/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 7dd4a14 Aug 16, 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 arm64 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.6.0/darwin-arm64/develop-7dd4a142ddeec7c1d1f6f48bf6dfd6ea6ba8ac54/cypress.tgz

Please sign in to comment.