Skip to content

Commit

Permalink
Using performRowActionByIcon for editing archetype
Browse files Browse the repository at this point in the history
Signed-off-by: Maayan Hadasi <[email protected]>
  • Loading branch information
mguetta1 committed Sep 18, 2024
1 parent 22541b0 commit 9dac9d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/e2e/models/migration/archetypes/archetype.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
confirm,
sidedrawerTab,
validatePageTitle,
performRowActionByIcon,
} from "../../../../utils/utils";
import { legacyPathfinder, migration, review, SEC, tdTag, trTag } from "../../../types/constants";
import { navMenu } from "../../../views/menu.view";
Expand Down Expand Up @@ -162,7 +163,7 @@ export class Archetype {
cancel = false
): void {
Archetype.open();
clickKebabMenuOptionArchetype(this.name, "Edit");
performRowActionByIcon(this.name, commonView.pencilIcon);

if (cancel) {
cancelForm();
Expand Down

0 comments on commit 9dac9d3

Please sign in to comment.