rebased and fixed the wrong directive for matList'

This commit is contained in:
Vito Albano
2023-12-19 21:23:44 +00:00
parent 4a7103c98d
commit 55c3f106ef
15 changed files with 207 additions and 139 deletions

View File

@@ -23,7 +23,7 @@ export class SearchBarPage {
searchBar = $(`adf-search-control input`);
searchBarExpanded: TestElement = TestElement.byCss(`adf-search-control mat-form-field[class*="mat-focused"] input`);
noResultMessage = $(`p[class*='adf-search-fixed-text']`);
rowsAuthor = `.mat-list-text p[class*='adf-search-fixed-text']`;
rowsAuthor = `p[class*='adf-search-fixed-text']`;
completeName = `h4[class*='adf-search-fixed-text']`;
highlightName = `.adf-highlight`;
searchBarPage = $(`mat-list[id='autocomplete-search-result-list']`);

View File

@@ -157,7 +157,7 @@ describe('Search component - Search Bar', () => {
it('[C260256] Should display file/folder in search suggestion when typing first characters', async () => {
await openSearchBar();
await searchBarPage.enterTextAndPressEnter(firstFolderModel.shortName);
await searchBarPage.enterText(firstFolderModel.shortName);
await searchBarPage.resultTableContainsRow(firstFolderModel.name);