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

Remove Cypress #834

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Remove Cypress #834

wants to merge 7 commits into from

Conversation

JonHolman
Copy link
Contributor

Description

Remove Cypress

Related ticket(s)

CMDCT-4217
CMDCT-4218
CMDCT-4221


How to test

Notes


Pre-review checklist

  • I have added thorough tests, if necessary
  • I have updated relevant documentation, if necessary
  • I have performed a self-review of my code
  • I have manually tested this PR in the deployed cloud environment

Pre-merge checklist

Review

  • Design: This work has been reviewed and approved by design, if necessary
  • Product: This work has been reviewed and approved by product owner, if necessary

Security

If either of the following are true, notify the team's ISSO (Information System Security Officer).

  • These changes are significant enough to require an update to the SIA.
  • These changes are significant enough to require a penetration test.

convert to a different template: test → val | val → prod

.env.tpl Show resolved Hide resolved
@@ -158,8 +152,6 @@ ESLint works in a similar manner for all code linting.

On a push to the repository or opening a pull request the [deploy.yml](https://github.com/Enterprise-CMCS/macpro-mdct-mfp/blob/main/.github/workflows/deploy.yml) file runs. This script sets up and does a number of things. For a simple push it's mostly checking code coverage.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice to have would just be something that explains that playwright exists and is used in this repo. That said, it's beyond the scope of the ticket so take it or leave it.

@@ -303,15 +303,15 @@
]
},
{
"username": "cypressadminuser@test.com",
"username": "e2eadminuser@test.com",
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess these get fixed when we deploy again so that the dynamo tables have them in there? Pardon my ignorance.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question. I know on new environments the create users bootstrap function will create the users based on this file, but I'm not sure about when we update an existing environment. I'll have to check after we merge to main. I'm expecting we may need to trigger the bootstrap users function manually.

peoplespete
peoplespete previously approved these changes Dec 30, 2024
Copy link
Contributor

@peoplespete peoplespete left a comment

Choose a reason for hiding this comment

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

Couple tiny comments, once you're happy merge away! Looks like you were very thorough! 🙏

@JonHolman
Copy link
Contributor Author

Couple tiny comments, once you're happy merge away! Looks like you were very thorough! 🙏

Thanks @peoplespete . I'm going to wait to review with the team when they return on Thursday.

Copy link
Contributor

@gmrabian gmrabian left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks for making these updates.

I think the playwright test step is set to "pass" even if the tests fail, and in the latest run it looks like they failed.
Do we want to ensure those tests are reliable before merging this?
cc: @jessabean

Copy link

codeclimate bot commented Jan 14, 2025

Code Climate has analyzed commit 56c5adf and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 93.8% (0.0% change).

View more on Code Climate.

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.

3 participants