Skip to content

Commit

Permalink
[ACS-5293] changed non-unique data automation ids (#3226)
Browse files Browse the repository at this point in the history
* changed non-unique data automation ids

* trying a fix for multiple search locators

* trying a fix for multiple search locators
  • Loading branch information
SheenaMalhotra182 authored May 25, 2023
1 parent 71d97a1 commit 39aa789
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[disabled]="actionRef.disabled"
#matTrigger="matMenuTrigger"
>
<span *ngIf="actionRef.title" data-automation-id="menu-item-title">{{ actionRef.title | translate }}</span>
<span *ngIf="actionRef.title" data-automation-id="mat-button-menu-item-title">{{ actionRef.title | translate }}</span>
</button>
</ng-container>

Expand All @@ -25,7 +25,7 @@
[disabled]="actionRef.disabled"
#matTrigger="matMenuTrigger"
>
<span *ngIf="actionRef.title" data-automation-id="menu-item-title">{{ actionRef.title | translate }}</span>
<span *ngIf="actionRef.title" data-automation-id="mat-flat-button-menu-item-title">{{ actionRef.title | translate }}</span>
</button>
</ng-container>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { BrowserActions, BrowserVisibility, TestElement } from '@alfresco/adf-te

export class SearchInput extends Component {
get searchButton() {
return browser.element(by.css('.app-search-button'));
return browser.element(by.css('aca-search-input .app-search-button'));
}

searchContainer = browser.element(by.css('.app-search-container'));
Expand Down

0 comments on commit 39aa789

Please sign in to comment.