fix e2e content-service

This commit is contained in:
Eugenio Romano
2018-10-03 18:57:57 +01:00
parent 8fde14e2ca
commit 98327be669
3 changed files with 3 additions and 8 deletions

View File

@@ -49,10 +49,6 @@ describe('Notifications Component', () => {
done();
});
afterEach(() => {
browser.refresh();
});
it('[C279977] Should show notification when the message is not empty and button is clicked', () => {
notificationPage.enterMessageField('Notification test');
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', () => {
notificationPage.enterMessageField('Notification test');
notificationPage.clickActionToggle();
notificationPage.clickDefaultNotificationButton();
notificationPage.enterDurationField(6000);
notificationPage.clickCustomNotificationButton();
notificationPage.checkNotificationSnackBarIsDisplayedWithMessage('Notification test');
notificationPage.clickActionButton();
notificationPage.checkActionEvent();

View File

@@ -95,11 +95,9 @@ describe('Search Filters', () => {
searchFiltersPage.checkSizeShowMoreButtonIsDisplayed();
searchFiltersPage.clickSizeShowMoreButtonUntilIsNotDisplayed();
searchFiltersPage.checkSizeShowMoreButtonIsNotDisplayed();
searchFiltersPage.checkShowLessButtonIsDisplayed();
searchFiltersPage.clickSizeShowLessButtonUntilIsNotDisplayed();
searchFiltersPage.checkShowLessButtonIsNotDisplayed();
});
});

View File

@@ -78,7 +78,7 @@ describe('Unshare file', () => {
done();
});
it('[C280556] Unshared file should show 404 page', async() => {
xit('[C280556] Unshared file should show 404 page', async() => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();