[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 17:23:33 +02:00
committed by Denys Vuika
parent 49e80ddce1
commit 2ac59bd278
6 changed files with 17 additions and 13 deletions

View File

@@ -48,7 +48,7 @@ describe('Search input', () => {
});
it('Search options are displayed when clicking in the search input - [C289848]', async () => {
await searchInput.clickSearchContainer();
await searchInput.clickSearchButton();
expect(await searchInput.isOptionsAreaDisplayed()).toBe(true, '1. Search options not displayed');
expect(await searchInput.isFilesOptionEnabled()).toBe(true, '2. Files option not enabled');
expect(await searchInput.isFoldersOptionEnabled()).toBe(true, '3. Folders option not enabled');
@@ -59,7 +59,7 @@ describe('Search input', () => {
});
it('Search options are correctly enabled / disabled - [C289849]', async () => {
await searchInput.clickSearchContainer();
await searchInput.clickSearchButton();
await searchInput.clickFilesOption();
expect(await searchInput.isFoldersOptionEnabled()).toBe(true, 'Folders option not enabled');