[ACA] fix e2e tests failing on slow environments (#801)

* fix tests failing on slow environments

* forgot a change
This commit is contained in:
Adina Parpalita
2018-11-14 15:23:33 +00:00
committed by Denys Vuika
parent 49e80ddce1
commit 2ac59bd278
6 changed files with 17 additions and 13 deletions
+6
View File
@@ -65,6 +65,12 @@ describe('General', () => {
expect(message).toEqual('The action was unsuccessful. Try again or contact your IT Team.');
expect(await browser.getTitle()).toContain('Sign in');
try {
await createDialog.waitForDialogToClose();
} catch (error) {
console.log('err: ', error);
}
expect(await createDialog.isDialogOpen()).not.toBe(true, 'dialog is present');
});
});
+1 -1
View File
@@ -125,7 +125,7 @@ describe('Page titles', () => {
});
it('Search Results page - [C280413]', async () => {
await searchInput.clickSearchContainer();
await searchInput.clickSearchButton();
await searchInput.searchForText(file);
expect(await browser.getTitle()).toContain(PAGE_TITLES.SEARCH);
});