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: retries validation #8268

Merged
merged 2 commits into from
Aug 13, 2020
Merged

Conversation

JessicaSachs
Copy link
Contributor

  • Validation of retries config was being ignored completely due to isNumberOrNull returning an error message string and being checked for falsiness.
  • Previously both runMode and openMode were required when using the object signature. This fixes that.
  • Previously we weren't guarding against negative numbers

How has the user experience changed?

PR Tasks

  • Have tests been added/updated?
  • Has the original issue been tagged with a release in ZenHub?
  • Has a PR for user-facing changes been opened in cypress-documentation?
  • 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 Aug 13, 2020

Thanks for taking the time to open a PR!

@JessicaSachs JessicaSachs changed the base branch from develop to v5.0-release August 13, 2020 00:44
@cypress
Copy link

cypress bot commented Aug 13, 2020



Test summary

8026 0 108 3


Run details

Project cypress
Status Passed
Commit ab943aa
Started Aug 13, 2020 1:28 AM
Ended Aug 13, 2020 1:34 AM
Duration 05:57 💡
OS Linux Debian - 10.2
Browser Multiple

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@bahmutov
Copy link
Contributor

bahmutov commented Aug 13, 2020 via email

@chrisbreiding
Copy link
Contributor

retries: π

End up in a retry loop.

Copy link
Contributor

@chrisbreiding chrisbreiding left a comment

Choose a reason for hiding this comment

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

Very nice!

@JessicaSachs JessicaSachs merged commit 4aedd98 into v5.0-release Aug 13, 2020
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.

4 participants