From 39aa789712729bfcf76cac41da1ca0cad69df465 Mon Sep 17 00:00:00 2001
From: SheenaMalhotra182 <110394264+SheenaMalhotra182@users.noreply.github.com>
Date: Thu, 25 May 2023 23:39:12 +0530
Subject: [PATCH] [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
---
.../tool-bar/toolbar-menu/toolbar-menu.component.html | 4 ++--
.../aca-testing-shared/src/components/search/search-input.ts | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/projects/aca-shared/src/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.html b/projects/aca-shared/src/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.html
index adcae5f0f4..6c4f1960dd 100644
--- a/projects/aca-shared/src/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.html
+++ b/projects/aca-shared/src/lib/components/tool-bar/toolbar-menu/toolbar-menu.component.html
@@ -10,7 +10,7 @@
[disabled]="actionRef.disabled"
#matTrigger="matMenuTrigger"
>
- {{ actionRef.title | translate }}
+ {{ actionRef.title | translate }}
@@ -25,7 +25,7 @@
[disabled]="actionRef.disabled"
#matTrigger="matMenuTrigger"
>
- {{ actionRef.title | translate }}
+ {{ actionRef.title | translate }}
diff --git a/projects/aca-testing-shared/src/components/search/search-input.ts b/projects/aca-testing-shared/src/components/search/search-input.ts
index 6e7adb143b..f1b163a5b2 100755
--- a/projects/aca-testing-shared/src/components/search/search-input.ts
+++ b/projects/aca-testing-shared/src/components/search/search-input.ts
@@ -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'));