mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-1975] Add no results template when searching in People/Group clo… (#5479)
* [AAE-1975] Add no results template when searching in People/Group cloud component * [AAE-1975] Add timeout for check no results e2e method * [AAE-1975] Adapt unit tests, add no results checks * [AAE-1975] Fix styling, remove error icon and red colour * [AAE-1975] Remove timeout
This commit is contained in:
@@ -97,4 +97,9 @@ export class GroupCloudComponentPage {
|
||||
}
|
||||
}
|
||||
|
||||
async checkNoResultsFoundError(): Promise<void> {
|
||||
const errorLocator = element(by.css('[data-automation-id="adf-cloud-group-no-results"]'));
|
||||
await BrowserVisibility.waitUntilElementIsVisible(errorLocator);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -133,4 +133,9 @@ export class PeopleCloudComponentPage {
|
||||
}
|
||||
}
|
||||
|
||||
async checkNoResultsFoundError(): Promise<void> {
|
||||
const errorLocator = element(by.css('[data-automation-id="adf-people-cloud-no-results"]'));
|
||||
await BrowserVisibility.waitUntilElementIsVisible(errorLocator);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user