Skip to content

Commit

Permalink
ACS-6323 Fixed e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderSklorz committed Dec 10, 2023
1 parent d66cc0a commit b34cc8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> {
Expand Down

0 comments on commit b34cc8c

Please sign in to comment.