Skip to content

Commit

Permalink
Update jobfunctions methods
Browse files Browse the repository at this point in the history
Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr committed Jan 31, 2025
1 parent e47ec4e commit 12daefd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cypress/e2e/models/migration/controls/jobfunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ import {
cancelForm,
click,
clickByText,
clickItemInKebabMenu,
inputText,
performRowActionByIcon,
performRowAction,
selectItemsPerPage,
selectUserPerspective,
submitForm,
Expand All @@ -29,6 +28,7 @@ import {
controls,
createNewButton,
deleteAction,
editAction,
jobFunctions,
migration,
SEC,
Expand Down Expand Up @@ -76,7 +76,7 @@ export class Jobfunctions {
Jobfunctions.openList();
selectItemsPerPage(100);
cy.wait(2000);
performRowActionByIcon(this.name, commonView.pencilIcon);
performRowAction(this.name, editAction);

if (cancel) {
cancelForm();
Expand All @@ -91,7 +91,7 @@ export class Jobfunctions {

delete(cancel = false): void {
Jobfunctions.openList();
clickItemInKebabMenu(this.name, deleteAction);
performRowAction(this.name, deleteAction);
if (cancel) {
click(commonView.confirmCancelButton);
} else {
Expand Down

0 comments on commit 12daefd

Please sign in to comment.