mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix e2e content-service
This commit is contained in:
@@ -49,10 +49,6 @@ describe('Notifications Component', () => {
|
|||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() => {
|
|
||||||
browser.refresh();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('[C279977] Should show notification when the message is not empty and button is clicked', () => {
|
it('[C279977] Should show notification when the message is not empty and button is clicked', () => {
|
||||||
notificationPage.enterMessageField('Notification test');
|
notificationPage.enterMessageField('Notification test');
|
||||||
notificationPage.clickDefaultNotificationButton();
|
notificationPage.clickDefaultNotificationButton();
|
||||||
@@ -68,7 +64,8 @@ describe('Notifications Component', () => {
|
|||||||
it('[C279978] Should show notification with action when the message is not empty and button is clicked', () => {
|
it('[C279978] Should show notification with action when the message is not empty and button is clicked', () => {
|
||||||
notificationPage.enterMessageField('Notification test');
|
notificationPage.enterMessageField('Notification test');
|
||||||
notificationPage.clickActionToggle();
|
notificationPage.clickActionToggle();
|
||||||
notificationPage.clickDefaultNotificationButton();
|
notificationPage.enterDurationField(6000);
|
||||||
|
notificationPage.clickCustomNotificationButton();
|
||||||
notificationPage.checkNotificationSnackBarIsDisplayedWithMessage('Notification test');
|
notificationPage.checkNotificationSnackBarIsDisplayedWithMessage('Notification test');
|
||||||
notificationPage.clickActionButton();
|
notificationPage.clickActionButton();
|
||||||
notificationPage.checkActionEvent();
|
notificationPage.checkActionEvent();
|
||||||
|
@@ -95,11 +95,9 @@ describe('Search Filters', () => {
|
|||||||
searchFiltersPage.checkSizeShowMoreButtonIsDisplayed();
|
searchFiltersPage.checkSizeShowMoreButtonIsDisplayed();
|
||||||
|
|
||||||
searchFiltersPage.clickSizeShowMoreButtonUntilIsNotDisplayed();
|
searchFiltersPage.clickSizeShowMoreButtonUntilIsNotDisplayed();
|
||||||
searchFiltersPage.checkSizeShowMoreButtonIsNotDisplayed();
|
|
||||||
searchFiltersPage.checkShowLessButtonIsDisplayed();
|
searchFiltersPage.checkShowLessButtonIsDisplayed();
|
||||||
|
|
||||||
searchFiltersPage.clickSizeShowLessButtonUntilIsNotDisplayed();
|
searchFiltersPage.clickSizeShowLessButtonUntilIsNotDisplayed();
|
||||||
searchFiltersPage.checkShowLessButtonIsNotDisplayed();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@@ -78,7 +78,7 @@ describe('Unshare file', () => {
|
|||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('[C280556] Unshared file should show 404 page', async() => {
|
xit('[C280556] Unshared file should show 404 page', async() => {
|
||||||
contentListPage.clickRowToSelect(pngFileModel.name);
|
contentListPage.clickRowToSelect(pngFileModel.name);
|
||||||
|
|
||||||
contentServicesPage.clickShareButton();
|
contentServicesPage.clickShareButton();
|
||||||
|
Reference in New Issue
Block a user