Skip to content

Commit

Permalink
switch cleanup method in cypress cleanup hook (#7276)
Browse files Browse the repository at this point in the history
* switch cleanup method runs

* add spec 5 too
  • Loading branch information
fzhao99 authored Feb 12, 2024
1 parent 1893b74 commit 92687c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/04-covid_only_tests.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ describe("Conducting a COVID test from:", () => {
});

after("clean up spec data", () => {
cleanUpPreviousRunSetupData(currentSpecRunVersionName);
cleanUpRunOktaOrgs(currentSpecRunVersionName);
cleanUpPreviousRunSetupData(currentSpecRunVersionName);
});

it("conducts a test from the result page", () => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/05-get_result_from_patient_link.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ describe("Getting a test result from a patient link", () => {
});

after("clean up spec data", () => {
cleanUpPreviousRunSetupData(currentSpecRunVersionName);
cleanUpRunOktaOrgs(currentSpecRunVersionName);
cleanUpPreviousRunSetupData(currentSpecRunVersionName);
});

it("successfully navigates to the patient link", () => {
Expand Down

0 comments on commit 92687c3

Please sign in to comment.