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 test are failing and not always because of actual broken features #695

Open
edwinmp opened this issue May 17, 2022 · 6 comments
Open
Assignees
Labels

Comments

@edwinmp
Copy link
Collaborator

edwinmp commented May 17, 2022

Look into why this is happening for and suggest a solution & perhaps a plan for how we can better structure our e2e tests to only break for proper issues.

@edwinmp edwinmp added enhancement New feature or request Investigation labels May 17, 2022
@stale
Copy link

stale bot commented Jul 30, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Jul 30, 2022
@edwinmp
Copy link
Collaborator Author

edwinmp commented Aug 2, 2022

I'm increasing the priority of this as it's falling further behind on our list of technical debt tickets.

@stale stale bot removed the wontfix This will not be worked on label Aug 2, 2022
@stale
Copy link

stale bot commented Oct 1, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Oct 1, 2022
@stale stale bot closed this as completed Oct 20, 2022
@edwinmp edwinmp reopened this Oct 20, 2022
@edwinmp edwinmp added the pinned label Oct 20, 2022
@stale stale bot removed the wontfix This will not be worked on label Oct 20, 2022
@APIYOJENNIFER
Copy link
Collaborator

The Cypress tests are failing intermittently due to the following issues:

  • Timeout errors due to the cypress commands running before the page has fully loaded.
  • Delays in loading content, which I suspect are due to large file sizes.
  • Timeout errors due to slow response when making API requests.

Suggested solutions:

  • Intercept all network requests and wait until it's complete before running the next cypress commands.
  • Add delays where cy.type() is being used.

@ThatcherK
Copy link
Contributor

ThatcherK commented Aug 3, 2023

@APIYOJENNIFER Way forward on your findings

@ThatcherK
Copy link
Contributor

All tests have been fixed apart from the deletes a frozen datasource test under datasources, where fixing the timeout errors exposed an api error that is referenced in this issue #970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants