[AAE-1797] added e2e automated tests (#5509)

* added e2e automation - [C260064] Should download only the last selection when changing pages in Single mode

* [AAE-1797] added e2e automated test- start a process within ACS

* refactoring with dropdownPage

* spellcheck refactoring
This commit is contained in:
Alexandra Abrudan
2020-02-28 15:06:24 +00:00
committed by GitHub
parent 6bf8c17771
commit e5efe74e5e
12 changed files with 713 additions and 444 deletions

View File

@@ -74,7 +74,7 @@ describe('Enable infinite scrolling', () => {
deleteUploaded = await uploadActions.createFolder('deleteFolder', '-my-');
await uploadActions.createEmptyFiles(deleteFileNames, deleteUploaded.entry.id);
});
});
afterAll(async () => {
await navigationBarPage.clickLogoutButton();
@@ -83,7 +83,7 @@ describe('Enable infinite scrolling', () => {
beforeEach(async () => {
await navigationBarPage.clickContentServicesButton();
await contentServicesPage.checkAcsContainer();
});
});
it('[C260484] Should be possible to enable infinite scrolling', async () => {
await contentServicesPage.doubleClickRow(folderModel.name);
@@ -95,9 +95,7 @@ describe('Enable infinite scrolling', () => {
});
it('[C268165] Delete folder when infinite scrolling is enabled', async () => {
await contentServicesPage.doubleClickRow(deleteUploaded.entry.name);
await contentServicesPage.checkAcsContainer();
await contentServicesPage.waitForTableBody();
await contentServicesPage.openFolder(deleteUploaded.entry.name);
await contentServicesPage.enableInfiniteScrolling();
await infinitePaginationPage.clickLoadMoreButton();
for (let i = 0; i < nrOfDeletedFiles; i++) {