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

Make cypress tests more stable #981

Closed
2 tasks
fyliu opened this issue Oct 27, 2021 · 2 comments
Closed
2 tasks

Make cypress tests more stable #981

fyliu opened this issue Oct 27, 2021 · 2 comments

Comments

@fyliu
Copy link
Member

fyliu commented Oct 27, 2021

Overview

We need to have Cypress tests to make sure that if a developer makes changes to the website and there is an error it can be identified as a bug to be fixed.

Detail

Cypress tests are randomly failing on input fields where inputs aren't loaded or saved correctly. We're currently doing get.type for inputs. I'm thinking adding the "should" will add extra wait time and make the tests more stable. There's a lot of lines to update in the code.

Action Items

  • Use get.type.should for cypress tests
  • Evaluate if that makes the tests more stable

Resources/Instructions

See the last line in the code box for an example
https://docs.cypress.io/api/commands/type#Event-Cancellation

@mojimoh

This comment was marked as resolved.

@entrotech
Copy link
Member

Cypress tests were very fragile, not well maintained, and created more development work than they were worth.

@entrotech entrotech closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
@github-project-automation github-project-automation bot moved this from Technical Review to On Dev - not yet pushed to Prod in P: TDM: project board Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Released
Development

No branches or pull requests

7 participants