mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[ACS-5293] changed non-unique data automation ids (#3226)
* changed non-unique data automation ids * trying a fix for multiple search locators * trying a fix for multiple search locators
This commit is contained in:
parent
71d97a17bf
commit
39aa789712
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
|
@ -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'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user