From 849c91365216eddccd15c1cf9394658f244378fa Mon Sep 17 00:00:00 2001 From: Nandini Chandra Date: Thu, 24 Aug 2023 11:21:22 -0500 Subject: [PATCH] Fix typo Signed-off-by: Nandini Chandra --- .../migration/applicationinventory/assessment/create.test.ts | 3 +-- cypress/e2e/views/applicationinventory.view.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cypress/e2e/tests/migration/applicationinventory/assessment/create.test.ts b/cypress/e2e/tests/migration/applicationinventory/assessment/create.test.ts index 2b337a8d7..f52ffe532 100644 --- a/cypress/e2e/tests/migration/applicationinventory/assessment/create.test.ts +++ b/cypress/e2e/tests/migration/applicationinventory/assessment/create.test.ts @@ -67,14 +67,12 @@ describe(["@tier2"], "Application validations", () => { }); beforeEach("Interceptors", function () { - // Interceptors cy.intercept("POST", "/hub/tag*").as("postTag"); cy.intercept("POST", "/hub/application*").as("postApplication"); cy.intercept("GET", "/hub/application*").as("getApplication"); }); it("Application field validations", function () { - // Navigate to application inventory page and click "Create New" button Assessment.open(); clickByText(button, createNewButton); selectFormItems(applicationBusinessServiceSelect, "Collins LLC"); @@ -129,6 +127,7 @@ describe(["@tier2"], "Application validations", () => { .should("contain", stakeHoldersList[0].name) .and("contain", stakeHoldersList[1].name); + // Unassign contributor#1 and verify only contributor#2 is listed cy.get(applicationContributorsText) .contains(stakeHoldersList[0].name) .parent() diff --git a/cypress/e2e/views/applicationinventory.view.ts b/cypress/e2e/views/applicationinventory.view.ts index 2520cddfe..352e21346 100644 --- a/cypress/e2e/views/applicationinventory.view.ts +++ b/cypress/e2e/views/applicationinventory.view.ts @@ -20,7 +20,7 @@ export const applicationBusinessServiceSelect = "[placeholder='Select a business export const applicationContributorsInput = "#contributors-select-toggle-select-multi-typeahead-typeahead"; export const applicationContributorsText = ".pf-v5-c-chip__text"; -export const applicationContributionAction = ".pf-v5-c-chip__actions"; +export const applicationContributorsAction = ".pf-v5-c-chip__actions"; export const applicationOwnerInput = "#owner-toggle-select-typeahead"; export const repoTypeSelect = "button[id='repo-type-toggle']"; export const applicationTagsSelect = "[placeholder='Select tags']";