You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The timeout-bar of running/waiting testing-library commands in the Cypress test-runner finishes way before 120 seconds are up. Looks to take around 10 seconds for it to finish? This is the progress-bar I'm talking about:
If I use timeout on regular cypress commands, like cy.get('foobar', { timeout: 120_000 }), then the timeout-bar works correctly and does take 120 seconds to pass.
Problem description:
The timeout-option of testing-library commands doesn't seem to register correctly with the timeout-bar in the Cypress test-runner, like other commands do.
Suggested solution:
Timeout option on testing-library commands, should work and display the same as for other commands in the Cypress test-runner.
The text was updated successfully, but these errors were encountered:
cypress-testing-library
version: 8.0.2node
version: 14.17.0npm
(oryarn
) version: 6.14.13What you did:
Added a timeout to
findByRole
, like this:What happened:
The timeout-bar of running/waiting testing-library commands in the Cypress test-runner finishes way before 120 seconds are up. Looks to take around 10 seconds for it to finish? This is the progress-bar I'm talking about:
If I use
timeout
on regular cypress commands, likecy.get('foobar', { timeout: 120_000 })
, then the timeout-bar works correctly and does take 120 seconds to pass.Problem description:
The timeout-option of testing-library commands doesn't seem to register correctly with the timeout-bar in the Cypress test-runner, like other commands do.
Suggested solution:
Timeout option on testing-library commands, should work and display the same as for other commands in the Cypress test-runner.
The text was updated successfully, but these errors were encountered: