mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-1180]Fix datatable tests (#5334)
* Fix datatable tests * excluded some of the tests that depend on fixing the rendition service issue we have with ACS 6.2 => AAE-1237
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
import { by, element, ElementFinder } from 'protractor';
|
||||
import { BrowserActions } from '../utils/browser-actions';
|
||||
import { BrowserVisibility } from '../utils/browser-visibility';
|
||||
|
||||
export class NotificationHistoryPage {
|
||||
|
||||
@@ -44,11 +45,14 @@ export class NotificationHistoryPage {
|
||||
await this.clickNotificationButton();
|
||||
await this.checkNotificationIsPresent(text);
|
||||
await this.clickMarkAsRead();
|
||||
await BrowserVisibility.waitUntilElementIsNotVisible(this.notificationList);
|
||||
}
|
||||
|
||||
async checkNotifyNotContains(text: string): Promise<void> {
|
||||
await this.clickNotificationButton();
|
||||
await this.checkNotificationIsNotPresent(text);
|
||||
await this.clickNotificationButton();
|
||||
await BrowserActions.closeMenuAndDialogs();
|
||||
await BrowserVisibility.waitUntilElementIsNotVisible(this.notificationList);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user