From 33e8ddc32f18597d507bb22cd969038295c38426 Mon Sep 17 00:00:00 2001 From: Valencia McMurray Date: Thu, 21 Sep 2023 10:37:22 -0400 Subject: [PATCH] test dupe fix duplicate verifyCPOCNameDoesNotExists. --- tests/cypress/cypress/e2e/common/steps.js | 2 +- tests/cypress/support/pages/oneMacPackageDetailsPage.js | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/cypress/cypress/e2e/common/steps.js b/tests/cypress/cypress/e2e/common/steps.js index 1c93cd7c3..415eea2f2 100644 --- a/tests/cypress/cypress/e2e/common/steps.js +++ b/tests/cypress/cypress/e2e/common/steps.js @@ -3079,7 +3079,7 @@ Then("verify the CPOC has a value displayed in the details section", () => { OneMacPackageDetailsPage.verifyCPOCNameValueExists(); }); Then("verify CPOC is not visible in the details section", () => { - OneMacPackageDetailsPage.verifyCPOCNameDoesNotExists(); + OneMacPackageDetailsPage.verifyCPOCNameDoesNotExist(); }); Then("verify there is a Review Team SRT header in the details section", () => { OneMacPackageDetailsPage.verifyReviewTeamSRTHeaderExists(); diff --git a/tests/cypress/support/pages/oneMacPackageDetailsPage.js b/tests/cypress/support/pages/oneMacPackageDetailsPage.js index a557d9caf..9ea67c2da 100644 --- a/tests/cypress/support/pages/oneMacPackageDetailsPage.js +++ b/tests/cypress/support/pages/oneMacPackageDetailsPage.js @@ -442,7 +442,7 @@ export class oneMacPackageDetailsPage { .next("div") .contains(/^(?!\s*$).+/); } - verifyCPOCNameDoesNotExists() { + verifyCPOCNameDoesNotExist() { cy.xpath(cPOCNameHeader).should("not.exist"); } verifyReviewTeamSRTHeaderExists() { @@ -456,9 +456,6 @@ export class oneMacPackageDetailsPage { verifyReviewTeamSRTDoesNotExists() { cy.xpath(reviewTeamSRTHeader).should("not.exist"); } - verifyCPOCNameDoesNotExists() { - cy.xpath(cPOCNameHeader).should("not.exist"); - } verifyFormalRAIResponseCaretBtnExists() { cy.xpath(formalRAIResponseCaretBtn).should("be.visible"); }