From b34cc8c903873eae302d738b35f138d15d59cdb6 Mon Sep 17 00:00:00 2001 From: Aleksander Sklorz Date: Sun, 10 Dec 2023 20:30:04 +0100 Subject: [PATCH] ACS-6323 Fixed e2e --- .../aca-testing-shared/src/components/data-table/data-table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/aca-testing-shared/src/components/data-table/data-table.ts b/projects/aca-testing-shared/src/components/data-table/data-table.ts index 6a852bd6ce..0579821fdf 100755 --- a/projects/aca-testing-shared/src/components/data-table/data-table.ts +++ b/projects/aca-testing-shared/src/components/data-table/data-table.ts @@ -85,7 +85,7 @@ export class DataTable extends Component { getColumnHeaderByLabel(label: string): ElementFinder { const locator = by.cssContainingText(DataTable.selectors.columnHeader, label); - return this.head.element(locator).element(by.xpath('ancestor::div[contains(@class, "adf-datatable-cell-header")]')); + return this.head.element(locator).element(by.xpath('ancestor::div[contains(@class, "adf-datatable-cell-header-content")]')); } async sortBy(label: string, order: 'asc' | 'desc'): Promise {