Skip to content

Commit

Permalink
Revert "PR 1327 Update jobfunctions methods" (#1340)
Browse files Browse the repository at this point in the history
* Revert "PR 1327 Update jobfunctions methods"

Signed-off-by: Nandini Chandra <[email protected]>

* Revert "PR 1327 Update jobfunctions methods"

Signed-off-by: Nandini Chandra <[email protected]>

---------

Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr authored Feb 7, 2025
1 parent d4e4e34 commit 983131f
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,8 +17,9 @@ import {
cancelForm,
click,
clickByText,
clickItemInKebabMenu,
inputText,
performRowAction,
performRowActionByIcon,
selectItemsPerPage,
selectUserPerspective,
submitForm,
Expand All @@ -28,7 +29,6 @@ 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);
performRowAction(this.name, editAction);
performRowActionByIcon(this.name, commonView.pencilIcon);

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

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

0 comments on commit 983131f

Please sign in to comment.