Skip to content

Commit

Permalink
Merge pull request #53 from stillalearner/fix_delete_dialogue
Browse files Browse the repository at this point in the history
[RFR] fix delete box dialogue
  • Loading branch information
stillalearner authored Aug 9, 2023
2 parents 7f2aa10 + 3923fcf commit 604e4a5
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 604e4a5

Please sign in to comment.