From 4b22e052832474a5899646dc932408ea8d3234a5 Mon Sep 17 00:00:00 2001 From: MichalKinas Date: Thu, 15 Feb 2024 09:56:00 +0100 Subject: [PATCH] [ACS-6427] Locator fix --- .../page-objects/components/dataTable/data-table.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts b/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts index 48ca515aa8..1110404b0b 100644 --- a/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts +++ b/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts @@ -80,7 +80,7 @@ export class DataTableComponent extends BaseComponent { * * @returns reference to cell element which contains link. */ - getCellLinkByName = (name: string): Locator => this.getChild('.adf-cell-value span', { hasText: name }); + getCellLinkByName = (name: string): Locator => this.getChild('.adf-cell-value span[role="link"]', { hasText: name }); /** * Method used in cases where we want to localize the element by [aria-label]