Skip to content

Commit

Permalink
test: fix flaky CT test by relying on query (#25706)
Browse files Browse the repository at this point in the history
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
  • Loading branch information
ZachJW34 and lmiller1990 authored Feb 6, 2023
1 parent 3040304 commit 0fb06a4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/app/src/specs/SpecsListRowItem.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ describe('SpecItem', () => {
}}
/>))

cy.findByTestId('latest').trigger('mouseenter').wait(300)
cy.findByTestId('button').contains('Specs Latest Runs Empty State')
cy.findByTestId('button').trigger('mouseleave')
cy.findByTestId('latest').trigger('mouseenter')
cy.findByTestId('button').as('button').contains('Specs Latest Runs Empty State')
cy.get('@button').trigger('mouseleave')

cy.findByTestId('duration').trigger('mouseenter').wait(300)
cy.findByTestId('button').contains('Specs Average Duration Empty State')
cy.findByTestId('button').trigger('mouseleave')
cy.findByTestId('duration').trigger('mouseenter')
cy.get('@button').contains('Specs Average Duration Empty State')
cy.get('@button').trigger('mouseleave')
})
})

5 comments on commit 0fb06a4

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 0fb06a4 Feb 6, 2023

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 build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.5.2/linux-arm64/develop-0fb06a4667b94751fea2027825ed580a93b702c7/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 0fb06a4 Feb 6, 2023

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 build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.5.2/linux-x64/develop-0fb06a4667b94751fea2027825ed580a93b702c7/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 0fb06a4 Feb 6, 2023

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 build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.5.2/darwin-arm64/develop-0fb06a4667b94751fea2027825ed580a93b702c7/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 0fb06a4 Feb 6, 2023

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 build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.5.2/darwin-x64/develop-0fb06a4667b94751fea2027825ed580a93b702c7/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 0fb06a4 Feb 6, 2023

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 build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.5.2/win32-x64/develop-0fb06a4667b94751fea2027825ed580a93b702c7/cypress.tgz

Please sign in to comment.