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

Flaky test in e2e/rerun_spec.coffee. #5545

Closed
sainthkh opened this issue Oct 31, 2019 · 2 comments · Fixed by #5546
Closed

Flaky test in e2e/rerun_spec.coffee. #5545

sainthkh opened this issue Oct 31, 2019 · 2 comments · Fixed by #5546

Comments

@sainthkh
Copy link
Contributor

Current behavior:

rerun_spec.coffee test sometimes fails even when there was no change in cy.viewport.

Check #5543, #5362, #5528, #5519, etc.

With an error message: Uncaught SyntaxError: Unexpected token }

Desired behavior:

Don't fail if there is no change in cy.viewport.

Steps to reproduce: (app code and test code)

As it's flaky, it's hard to reproduce. For example, I just added a regex and replace in #5544, it failed.

Interestingly, it passed in local Ubuntu.

Versions

  • Cypress: develop branch of commit 232c004
  • OS: Ubuntu
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Oct 31, 2019

The code for this is done in cypress-io/cypress#5546, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot cypress-bot bot removed the stage: needs review The PR code is done & tested, needs review label Oct 31, 2019
@jennifer-shehane
Copy link
Member

Released in 3.6.0

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Mar 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants