yeatmanlab / roar-dashboard

A dashboard to administer ROAR assessments
https://roar.education
Other
4 stars 4 forks source link

Fix Cypress Test Concurrency #570

Closed ksmontville closed 5 months ago

ksmontville commented 5 months ago

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.

github-actions[bot] commented 5 months ago

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

cypress[bot] commented 5 months ago

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 ↗︎