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

Cypress: Fix date parameters false positive #3873

Merged
merged 4 commits into from
Jun 4, 2019

Conversation

gabrieldutra
Copy link
Member

What type of PR is this? (check all applicable)

  • Other

Description

Example test results with this issue

I did run this fix a few times and got no fail on tests, but I guess I'll just know it really works after merge.

My guess is that the Save action to close the dialog didn't occur due to a sudden change in the dialog (the checkbox rendering). The solution I could think: click on the checkbox as well, this way it will wait for it to be rendered.

@ranbena I tried the cy.wait to see if the false positive would happen, didn't get it in my tests as well. In any case, if the fix without cy.wait works, I prefer it.

Related Tickets & Documents

--

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

--

@gabrieldutra
Copy link
Member Author

I wanna check if this will actually solve the issue and also Cypress is probably annoying a few people at this point, so I'm merging it 🙂

@gabrieldutra gabrieldutra merged commit a82fd0c into master Jun 4, 2019
@gabrieldutra gabrieldutra deleted the fix-cypress-date-parameters branch June 4, 2019 15:20
harveyrendell pushed a commit to pushpay/redash that referenced this pull request Nov 14, 2019
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.

2 participants