Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add CYPRESS_VERIFY_TIMEOUT param and a test for it #19282

Merged
merged 10 commits into from Dec 20, 2021
Merged

fix: add CYPRESS_VERIFY_TIMEOUT param and a test for it #19282

merged 10 commits into from Dec 20, 2021

Conversation

legap
Copy link
Contributor

@legap legap commented Dec 6, 2021

This pull request is an extension to PR 18243 initiated by Luke Page. It uses the same implementation and adds a test for the default and custom timeout.

User facing changelog

You can now override the verification timeout for slow machines with the environment variable CYPRESS_VERIFY_TIMEOUT. It defaults to 30000 milliseconds but in some circumstances it can take up to 60000 milliseconds.

Additional details

See linked issues

How has the user experience changed?

PR Tasks

  • Have tests been added/updated?
  • Has the original issue (or this PR, if no issue exists) been tagged with a release in ZenHub? (user-facing changes only)
  • Has a PR for user-facing changes been opened in cypress-documentation? PR #4261 & PR #4271
  • Have API changes been updated in the type definitions?
  • Have new configuration options been added to the cypress.schema.json?

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Dec 6, 2021

Thanks for taking the time to open a PR!

@CLAassistant
Copy link

CLAassistant commented Dec 6, 2021

CLA assistant check
All committers have signed the CLA.

@legap legap changed the title add CYPRESS_VERIFY_TIMEOUT param and a test for it fix: add CYPRESS_VERIFY_TIMEOUT param and a test for it Dec 6, 2021
@legap legap marked this pull request as ready for review December 6, 2021 21:36
@ryanthemanuel ryanthemanuel requested review from mjhenkes and removed request for flotwig December 13, 2021 16:36
Copy link
Contributor

@tbiethman tbiethman left a comment

Choose a reason for hiding this comment

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

Thank you @legap! We will update the docs to account for this new variable and get this change in.
Doc PR: cypress-io/cypress-documentation#4271

@chrisbreiding chrisbreiding merged commit b3d114e into cypress-io:develop Dec 20, 2021
tgriesser added a commit that referenced this pull request Dec 21, 2021
…ert-with-stack

* tgriesser/10.0-release/refactor-lifecycle: (50 commits)
  Remove unused test file
  update task spec to use correct projectRoot
  update
  Fix test
  Fix test
  Fix tests
  update tests
  fix test
  correct config path
  Fix TS
  resolve conflicts
  Fixing component & e2e tests
  build: fix dev process on windows (#19401)
  fix: `cy.contains()` ignores `<style>` and `<script>` without removing them. (#19424)
  Fix some tests
  chore: Fix the broken codeowners automation (#19431)
  chore: add types for Cypress.session.clearAllSavedSessions (#19412)
  fix: No unnecessary snapshotting (#19311)
  chore: Remove pkg/driver @ts-nocheck part 1 (#19353)
  fix: add CYPRESS_VERIFY_TIMEOUT param and a test for it (#19282)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configurable or increased VERIFY_TEST_RUNNER_TIMEOUT_MS
6 participants