From 08c5e1390e6fe195081f3f1a727ffcaed84676c0 Mon Sep 17 00:00:00 2001 From: shevijacobson Date: Tue, 1 Oct 2024 12:05:06 +0300 Subject: [PATCH] Using performRowActionByIcon for editing archetype Signed-off-by: shevijacobson Signed-off-by: shevijacobson --- cypress/e2e/models/migration/archetypes/archetype.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/models/migration/archetypes/archetype.ts b/cypress/e2e/models/migration/archetypes/archetype.ts index b3028f4a4..ab72f99fc 100644 --- a/cypress/e2e/models/migration/archetypes/archetype.ts +++ b/cypress/e2e/models/migration/archetypes/archetype.ts @@ -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"; @@ -165,7 +166,7 @@ export class Archetype { cancel = false ): void { Archetype.open(); - clickKebabMenuOptionArchetype(this.name, "Edit"); + performRowActionByIcon(this.name, commonView.pencilIcon); if (cancel) { cancelForm();