[ACA] E2E - Toolbar - wait for shared api

This commit is contained in:
Cilibiu Bogdan 2018-04-29 13:15:26 +03:00 committed by Denys Vuika
parent 212bd38488
commit 46a5339214

View File

@ -131,6 +131,9 @@ describe('Toolbar actions - single selection : ', () => {
.then(() => apis.user.shared.shareFileById(file1Id))
.then(() => apis.admin.shared.shareFileById(file2Id))
.then(() => apis.user.shared.waitForApi({ expect: 1 }))
.then(() => apis.admin.shared.waitForApi({ expect: 1 }))
.then(() => apis.user.favorites.addFavoritesByIds('file', [file1Id, file2Id]))
.then(() => loginPage.loginWith(username))