[AAE-21085] Fix e2e Search - add content selector that wrap text

This commit is contained in:
Amedeo Lepore
2024-05-09 12:48:17 +02:00
committed by DominikIwanek
parent 3ee8add73f
commit cecd38f314
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export class SearchBarPage {
searchBar = $(`adf-search-control input`);
searchBarExpanded = TestElement.byCss(`adf-search-control ${materialLocators.Form.field.root}[class*="${materialLocators.Focused.root}"] input`);
noResultMessage = $(`p[class*='adf-search-fixed-text']`);
rowsAuthor = `${materialLocators.List.text.class} p[class*='adf-search-fixed-text']`;
rowsAuthor = `${materialLocators.List.content.class} p[class*='adf-search-fixed-text']`;
completeName = `h4[class*='adf-search-fixed-text']`;
highlightName = `.adf-highlight`;
searchBarPage = $(`${materialLocators.List.root}[id='autocomplete-search-result-list']`);
@@ -257,6 +257,9 @@ export const materialLocators = {
text: {
class: '.mat-mdc-list-text'
},
content: {
class: '.mdc-list-item__content'
},
selectionList: 'mat-selection-list'
},
Menu: {