[ADF-3645] Rectoring names of e2e for shared link (#3890)

This commit is contained in:
Marouan Bentaleb 2018-10-16 18:02:45 +01:00 committed by Eugenio Romano
parent f61d944aea
commit 90dcca61dd
2 changed files with 12 additions and 12 deletions

View File

@ -86,14 +86,14 @@ describe('Share file', () => {
done();
});
it('[C286549] Share toggle button is checked automatically', () => {
it('[C286549] Should check automatically toggle button in Share dialog', () => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();
shareDialog.shareToggleButtonIsChecked();
});
it('[C286544] Copy shared link button action shows notification', () => {
it('[C286544] Should display notification when clicking URL copy button', () => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();
@ -101,7 +101,7 @@ describe('Share file', () => {
shareDialog.checkNotificationWithMessage('Link copied to the clipboard');
});
it('[C286328] User can close the Share dialog', () => {
it('[C286543] Should be possible to close Share dialog', () => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();
@ -110,7 +110,7 @@ describe('Share file', () => {
shareDialog.dialogIsClosed();
});
it('[C286578] Expiration day calendar should have today day option disabled', () => {
it('[C286578] Should disable today option in expiration day calendar', () => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();
@ -118,7 +118,7 @@ describe('Share file', () => {
shareDialog.calendarTodayDayIsDisabled();
});
it('[C286548] User can set when the shared file link expires', async () => {
it('[C286548] Should be possible to set expiry date for link', async () => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();
@ -143,7 +143,7 @@ describe('Share file', () => {
done();
});
it('[C286565] Logged user can open shared link', async () => {
it('[C286565] Should open file when logged user access shared link', async () => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();
@ -154,7 +154,7 @@ describe('Share file', () => {
viewerPage.checkFileNameIsDisplayed(pngFileModel.name);
});
it('[C286539] A non-logged user should see the shared file in the viewer', async () => {
it('[C286539] Should open file when non-logged user access shared link', async () => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();

View File

@ -117,7 +117,7 @@ describe('Unshare file', () => {
done();
});
it('[C286550] Unshare action opens confirmation dialog', () => {
it('[C286550] Should display unshare confirmation dialog', () => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();
@ -125,7 +125,7 @@ describe('Unshare file', () => {
shareDialog.confirmationDialogIsDisplayed();
});
it('[C286551] Cancel unshare file action', () => {
it('[C286551] Should be able to cancel unshare action', () => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();
@ -135,7 +135,7 @@ describe('Unshare file', () => {
shareDialog.shareToggleButtonIsChecked();
});
it('[C286552] Confirm unshare file action', async () => {
it('[C286552] Should be able to confirm unshare action', async () => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();
@ -145,7 +145,7 @@ describe('Unshare file', () => {
shareDialog.shareToggleButtonIsChecked();
});
it('[C280556] Unshared file should show 404 page', async() => {
it('[C280556] Should redirect to 404 when trying to access an unshared file', async() => {
contentListPage.clickRowToSelect(pngFileModel.name);
contentServicesPage.clickShareButton();
shareDialog.checkDialogIsDisplayed();
@ -166,7 +166,7 @@ describe('Unshare file', () => {
done();
});
it('[C286555] User without permission cannot remove shared file', () => {
it('[C286555] Should NOT be able to unshare file without permission', () => {
navBar.goToSite(testSite);
contentListPage.navigateToFolder('documentLibrary');
contentListPage.clickRowToSelect(nodeBody.name);