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

Refactor: remove Cypress #2535

Merged
merged 4 commits into from
Nov 25, 2024
Merged

Refactor: remove Cypress #2535

merged 4 commits into from
Nov 25, 2024

Conversation

angela-tran
Copy link
Member

@angela-tran angela-tran commented Nov 22, 2024

Closes #2534

This PR removes Cypress from our project.

The plan is to use Playwright for any automated front-end testing, and we will start with automating the smoke tests that are part of our release process (see #2504).

Eventually, we may add the type of automated front-end testing that these Cypress tests were meant to do, which was something more like front-end validation / regression / QA testing.

I went through all the Cypress tests we have, and none of them appear to be a critical test that we need to keep around while moving on to Playwright. Rather than waiting until we've replaced these tests with corresponding Playwright tests, I think we should just go ahead and remove Cypress wholesale. It's probably better anyways for us to revisit when exactly a front-end QA test is warranted.

Just for historical record purposes, here is a list of tickets that show our history with trying to use Cypress:

these tests as written are not providing any sort of critical test
coverage that we need to keep around.

we plan to use Playwright for this type of front-end testing, and there
is no need to wait until we have written those to remove these Cypress
tests.
@angela-tran angela-tran self-assigned this Nov 22, 2024
@github-actions github-actions bot added the actions Related to GitHub Actions workflows label Nov 22, 2024
Copy link

@github-actions github-actions bot added the documentation [auto] Improvements or additions to documentation label Nov 22, 2024
Copy link

Coverage report

This PR does not seem to contain any modification to coverable code.

@github-actions github-actions bot added tests Related to automated testing (unit, UI, integration, etc.) deployment-dev [auto] Changes that will trigger a deploy if merged to dev labels Nov 22, 2024
@angela-tran angela-tran marked this pull request as ready for review November 22, 2024 23:24
@angela-tran angela-tran requested a review from a team as a code owner November 22, 2024 23:24
Copy link
Member

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

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

YES PLEASE

image

We'll need to edit the check settings to remove the tests-cypress requirement 😅

image

@angela-tran
Copy link
Member Author

We'll need to edit the check settings to remove the tests-cypress requirement 😅

Thanks, I can do that now!

@angela-tran
Copy link
Member Author

Removed test-cypress from dev and test branch protection rules. prod's rules did not require the check.

@angela-tran angela-tran merged commit 7f82b0b into main Nov 25, 2024
21 checks passed
@angela-tran angela-tran deleted the refactor/remove-cypress branch November 25, 2024 18:33
@angela-tran angela-tran mentioned this pull request Nov 25, 2024
@thekaveman
Copy link
Member

@angela-tran

Removed test-cypress from dev and test branch protection rules. prod's rules did not require the check.

Hopefully from main as well? Since we don't use those other branches anymore 😁

@angela-tran
Copy link
Member Author

Ah yes, I meant main, not dev 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actions Related to GitHub Actions workflows deployment-dev [auto] Changes that will trigger a deploy if merged to dev documentation [auto] Improvements or additions to documentation tests Related to automated testing (unit, UI, integration, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Cypress
2 participants