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

Fix Cypress Test Concurrency #570

Merged
merged 34 commits into from
May 16, 2024
Merged

Fix Cypress Test Concurrency #570

merged 34 commits into from
May 16, 2024

Conversation

ksmontville
Copy link
Collaborator

This PR attempts to fix an issue with Cypress tests concurrently modifying the same document, resulting in failed tests. It introduces a check to see if the app/game npm package has changed within a new PR; if so, it runs the tests for that game. This PR also splits the Cypress test suite into multiple GitHub workflows: participant, partner, super admin.

Copy link

github-actions bot commented May 14, 2024

Visit the preview URL for this PR (updated for commit e625fb9):

https://roar-staging--pr570-fix-test-concurrency-ilzgpeaf.web.app

(expires Thu, 23 May 2024 16:40:11 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 2631e9c58fd0104ecbfddd72a62245ddac467460

Copy link

cypress bot commented May 14, 2024

Passing run #1784 ↗︎

0 19 0 0 Flakiness 0

Details:

Tests for PR 570 "Fix Cypress Test Concurrency" from commit "e625fb904d83c88fcb6...
Project: roar-dashboard-e2e Commit: e625fb904d
Status: Passed Duration: 02:06 💡
Started: May 16, 2024 4:40 PM Ended: May 16, 2024 4:42 PM

Review all test suite changes for PR #570 ↗︎

Copy link
Contributor

@richford richford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Light changes requested. Also, I'm not sure I caught every instance of 60 * timeout so I'd advise looking for that as well.

Thanks! This looks great!

package.json Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clarification that this is just to trigger/test the tests. Please change back when appropriate.

cypress/support/utils.js Outdated Show resolved Hide resolved
package.json Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clarification that this is just to trigger/test the tests. Please revert when appropriate

cypress/support/helper-functions/roar-sre/sreHelpers.js Outdated Show resolved Hide resolved
cypress/support/helper-functions/roar-swr/swrHelpers.js Outdated Show resolved Hide resolved
cypress/support/helper-functions/roar-pa/paHelpers.js Outdated Show resolved Hide resolved
cypress/support/helper-functions/roar-pa/paHelpers.js Outdated Show resolved Hide resolved
@ksmontville ksmontville force-pushed the fix/test-concurrency branch 2 times, most recently from 8827ba9 to e4e0282 Compare May 15, 2024 23:56
@richford richford merged commit 4462d5b into main May 16, 2024
16 checks passed
@richford richford deleted the fix/test-concurrency branch May 16, 2024 17:53
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.

None yet

3 participants