Skip to content

Commit

Permalink
update e2e selector
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskikutis committed Sep 18, 2023
1 parent e712e71 commit 6109a40
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions e2e/client/specs/helpers/tree-select-driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ export class TreeSelectDriver {
addValue(value: string): void {
el(['open-popover'], null, this._element).click();

const dropdown = element(by.id('TREESELECT_DROPDOWN'));

dropdown.element(by.cssContainingText('[data-test-id="option"]', value)).click();
element(by.cssContainingText('[data-test-id="tree-select-popover"] [data-test-id="option"]', value)).click();
}

setValue(value: string) {
Expand Down

0 comments on commit 6109a40

Please sign in to comment.