Skip to content

Commit

Permalink
Updating commonView.pencilIcon in applications (konveyor#1146)
Browse files Browse the repository at this point in the history
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
  • Loading branch information
mguetta1 committed Jun 28, 2024
1 parent b9d374e commit 06e74c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import {
applicationTagsSelect,
applicationCommentInput,
applicationOwnerInput,
editButton,
selectBox,
sourceRepository,
branch,
Expand Down Expand Up @@ -261,7 +260,7 @@ export class Application {
if (updateAppInfo) {
this.editApplicationFromApplicationProfile();
} else {
performRowActionByIcon(this.name, editButton);
performRowActionByIcon(this.name, commonView.pencilIcon);
}

if (cancel) {
Expand Down Expand Up @@ -311,7 +310,7 @@ export class Application {

removeBusinessService(): void {
cy.wait(2000);
performRowActionByIcon(this.name, editButton);
performRowActionByIcon(this.name, commonView.pencilIcon);
cy.get(applicationBusinessServiceSelect)
.closest("div")
.next("button")
Expand Down
1 change: 0 additions & 1 deletion cypress/e2e/views/applicationinventory.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export const cyclicDependenciesErrorMsg = "cyclic dependencies are not allowed";
export const northdependenciesDropdownBtn = "button[aria-label='northbound-dependencies-toggle']";
export const southdependenciesDropdownBtn = "button[aria-label='southbound-dependencies-toggle']";
export const date = "Import Time";
export const editButton = "#pencil-action";
export const importStatus = "Status";
export const selectBox = "input[type=checkbox]";
export const tags = "span";
Expand Down

0 comments on commit 06e74c2

Please sign in to comment.