From 1bf897639ca1acfdd476abf007e162bbba7f6cfe Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Wed, 6 Jun 2018 14:06:23 +0100 Subject: [PATCH] fix toolbar test --- e2e/suites/actions/toolbar-single-selection.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/suites/actions/toolbar-single-selection.test.ts b/e2e/suites/actions/toolbar-single-selection.test.ts index 5404e4062..3d163eb3b 100755 --- a/e2e/suites/actions/toolbar-single-selection.test.ts +++ b/e2e/suites/actions/toolbar-single-selection.test.ts @@ -260,7 +260,7 @@ describe('Toolbar actions - single selection : ', () => { .then(() => dataTable.waitForHeader()) .then(() => dataTable.selectMultipleItems([ file1, file2 ])) .then(() => { - expect(toolbar.actions.isButtonPresent('View')).toBe(false, `View is displayed for selected files`); + expect(toolbar.actions.isButtonPresent('View')).toBe(true, `View is not displayed for selected files`); expect(toolbar.actions.isButtonPresent('Download')).toBe(true, `Download is not displayed for selected files`); expect(toolbar.actions.isButtonPresent('Edit')).toBe(false, `Edit is displayed for selected files`); })