Skip to content

Commit

Permalink
fix(component-testing): Increased timeout to allow useEffect to trigg…
Browse files Browse the repository at this point in the history
…er (#16091)
  • Loading branch information
agg23 committed Apr 20, 2021
1 parent 738193f commit 5fb5b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm/react/cypress/component/advanced/timers/card-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ it('should select null after timing out', () => {
const onSelect = cy.stub().as('selected')

mount(<Card onSelect={onSelect} />)
cy.get('@selected', { timeout: 5100 }).should('have.been.calledWith', null)
cy.get('@selected', { timeout: 5500 }).should('have.been.calledWith', null)
})

it('should accept selections', () => {
Expand Down

4 comments on commit 5fb5b41

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5fb5b41 Apr 20, 2021

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/7.2.0/circle-develop-5fb5b41f30fd32a9fd087ecf6526d5e680d5dc24/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5fb5b41 Apr 20, 2021

Choose a reason for hiding this comment

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

AppVeyor has built the win32 ia32 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/7.2.0/appveyor-develop-5fb5b41f30fd32a9fd087ecf6526d5e680d5dc24/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5fb5b41 Apr 20, 2021

Choose a reason for hiding this comment

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

AppVeyor 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/7.2.0/appveyor-develop-5fb5b41f30fd32a9fd087ecf6526d5e680d5dc24/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5fb5b41 Apr 20, 2021

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/7.2.0/circle-develop-5fb5b41f30fd32a9fd087ecf6526d5e680d5dc24/cypress.tgz

Please sign in to comment.