Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr committed Aug 24, 2023
1 parent 939c8d8 commit 849c913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/views/applicationinventory.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']";
Expand Down

0 comments on commit 849c913

Please sign in to comment.