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

Improve test delays #1013

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open

Improve test delays #1013

wants to merge 12 commits into from

Conversation

annarhughes
Copy link
Member

@annarhughes annarhughes commented Jul 8, 2024

What changes did you make?

Quick test to see if test delays can be reduced

Why did you make the changes?

Our tests currently take a long time to complete and we have many waits that may not be necessary. testing the theory that some can be removed or reduced

Copy link

vercel bot commented Jul 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bloom-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 16, 2024 7:45pm

@annarhughes annarhughes changed the title test rm cy.wait(x) Improve test delays Jul 8, 2024
Copy link

cypress bot commented Jul 8, 2024

7 failed tests on run #546 ↗︎

7 34 2 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Merge branch 'develop' into remove-test-delays
Project: Bloom frontend Commit: 83788fb434
Status: Failed Duration: 10:25 💡
Started: Jul 9, 2024 7:54 PM Ended: Jul 9, 2024 8:05 PM

Review all test suite changes for PR #1013 ↗︎

dependabot bot and others added 2 commits July 8, 2024 17:47
….0 (#962)

Bumps [newrelic/deployment-marker-action](https://github.com/newrelic/deployment-marker-action) from 2.2.0 to 2.5.0.
- [Release notes](https://github.com/newrelic/deployment-marker-action/releases)
- [Changelog](https://github.com/newrelic/deployment-marker-action/blob/main/CHANGELOG.md)
- [Commits](newrelic/deployment-marker-action@v2.2.0...v2.5.0)

---
updated-dependencies:
- dependency-name: newrelic/deployment-marker-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@eleanorreem
Copy link
Contributor

@annarhughes timeouts don't affect run time like cy.wait. I think they are pretty safe and don't actually cause delays. They just tell the app to wait a bit longer than the default wait time which i think is 4 seconds. It mades the tests less flakey. However, it probably allows the tests to run slower than we'd like. I wonder how we could make the tests run faster meaning we can eventually remove the timeouts. There are various solutions in this article.

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