Skip to content

Commit

Permalink
[RFR] fix delete box dialogue
Browse files Browse the repository at this point in the history
  • Loading branch information
stillalearner committed Aug 9, 2023
1 parent 7f2aa10 commit 3923fcf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cypress/e2e/models/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
editButton,
MINUTE,
next,
projectDelete,
projectDetailsPage,
projects,
reviewPage,
Expand Down Expand Up @@ -298,7 +299,7 @@ export class Projects {
navigateTo(projects);
performRowActionByIcon(project, kebabMenu);
clickByText("button", deleteButton);
cy.contains("span", projectDetailsPage, { timeout: 120 * SEC });
cy.contains("span", projectDelete, { timeout: 120 * SEC });
inputText(deleteProjectInput, project);
shouldBeEnabled(dangerButton, deleteButton);
clickByText(dangerButton, deleteButton);
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/models/rulesConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class RulesConfiguration {
click(showAllRules);
cy.wait(SEC * 10);
}

filterBy(category: string, technologies: string[]) {
if (category == "Target") {
clickByText("span", "Source");
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/types/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export const selectPackages = "Select packages";
export const selectTransformationTarget = "Select transformation target";
export const addApplicationsPage = "Add applications";
export const projectDetailsPage = "Project details";
export const projectDelete = "Project delete confirmation";

//Applications Page Constants
export const addApplication = "Add application";
Expand Down

0 comments on commit 3923fcf

Please sign in to comment.