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

Run e2e tests against deployed environments #1770

Closed
nickclyde opened this issue Jun 2, 2021 · 3 comments · Fixed by #3688
Closed

Run e2e tests against deployed environments #1770

nickclyde opened this issue Jun 2, 2021 · 3 comments · Fixed by #3688
Assignees
Labels
DevOps Infrastructure changes Eng Health Tech Debt issues dedicated to the resolution of technical debt

Comments

@nickclyde
Copy link
Member

nickclyde commented Jun 2, 2021

Description

Run e2e tests against deployed environments. This should run against an environment that's deployed against the regular flow, and uses Okta Preview and the Experian demo account. We'll need to add dev back to the deployment pipeline for this to work.

Proposed solution

After deploying to training or demo, add a step to run the e2e tests, configured to point at the dev URL

Additional context

This ticket was created in response to this postmortem

We may need to add different profiles for running the e2e tests locally vs in deployed environments. Locally we'll want to use Wiremock instead of Okta preview, for instance.

This should be run before deploying a PR to production, rather than just doing it daily. We may need to add a flag enabling users to bypass e2e tests to respond to production incidents.

@timbest-cdc timbest-cdc added DevOps Infrastructure changes Growth & Engagement labels Jun 2, 2021
@timbest-cdc timbest-cdc added the P2 label Jul 28, 2021
@nickclyde nickclyde added the Tech Debt issues dedicated to the resolution of technical debt label Nov 1, 2021
@nickclyde nickclyde removed their assignment Nov 1, 2021
@emmastephenson
Copy link
Contributor

It's worth deferring this ticket until the e2e tests are written/rewritten, so we have a ballpark idea of how long these tests will take.

@zdeveloper
Copy link
Contributor

Add a deployment to prod blocking step (parallel to deployment to stg) that will run e2e against a real env deployed on azure,
Run against dev at the moment until we stand up a new env specifically for this purpose

@emmastephenson
Copy link
Contributor

Next steps on this:

  • test environment will be used for e2es (and other automated tests) going forward. As such it needs to be put back in the deployment pipeline.
  • stg can't be used here because it's on prod Okta and we don't want an e2e Okta user in prod.
  • Rin to talk to CDC Azure folks and ask for new resource groups for:
    • dev II
    • feature branches
      This ticket is blocked until dev II is up and running, so that we continue to have the same number of environments available for local development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevOps Infrastructure changes Eng Health Tech Debt issues dedicated to the resolution of technical debt
Projects
None yet
6 participants