[ACA-2215] toggle search filter (#998)

* support for toggling search filter

* update docs

* disable e2e test

* update e2e
This commit is contained in:
Denys Vuika
2019-03-07 12:04:44 +00:00
committed by Cilibiu Bogdan
parent 22a256f09b
commit 92a5ec44e8
11 changed files with 94 additions and 5 deletions

View File

@@ -673,12 +673,13 @@ describe('Toolbar actions - single selection : ', () => {
done();
});
it('actions are not displayed when no item is selected - [C291815]', async () => {
it('nodes actions are not displayed when no item is selected - [C291815]', async () => {
await searchInput.clickSearchButton();
await searchInput.checkFilesAndFolders();
await searchInput.searchForTextAndCloseSearchOptions(fileInSite);
expect(await toolbar.isEmpty()).toBe(true, `actions displayed though nothing selected`);
expect(await toolbar.isToggleSearchFiltersPresent()).toBe(true, `Search filter toggle is not displayed`);
expect(await toolbar.numberOfAvailableActions()).toBe(1, `more than 1 action is present`);
});
it('correct actions appear when a file is selected - [C291816]', async () => {