Skip to content

Commit

Permalink
update data table locator
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalszmit committed Nov 25, 2024
1 parent fa30395 commit 2c85bdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ export class DataTableComponentPage {

getRow(columnName: string, columnValue: string): ElementFinder {
return this.rootElement
.all(by.css(`adf-datatable-row:has(.adf-datatable-cell[title='${columnName}']):has(.adf-datatable-cell-value[title*='${columnValue}'])`))
.all(by.css(`adf-datatable-row:has(.adf-datatable-cell[title='${columnName}']):has(span[title*='${columnValue}'])`))
.first();
}

Expand Down

0 comments on commit 2c85bdd

Please sign in to comment.