From bf4536fec5868d5091f16327114772c7772d2c34 Mon Sep 17 00:00:00 2001 From: Cilibiu Bogdan Date: Fri, 27 Apr 2018 21:46:01 +0300 Subject: [PATCH] reset selection after each test (#335) --- e2e/suites/actions/toolbar-single-selection.test.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/e2e/suites/actions/toolbar-single-selection.test.ts b/e2e/suites/actions/toolbar-single-selection.test.ts index 61e20a22c..0cea2b68b 100755 --- a/e2e/suites/actions/toolbar-single-selection.test.ts +++ b/e2e/suites/actions/toolbar-single-selection.test.ts @@ -544,6 +544,10 @@ describe('Toolbar actions - single selection : ', () => { .then(done); }); + afterEach(() => { + dataTable.clearSelection(); + }); + afterAll(done => { logoutPage.load().then(done); }); @@ -588,6 +592,10 @@ describe('Toolbar actions - single selection : ', () => { .then(done); }); + afterEach(() => { + dataTable.clearSelection(); + }); + afterAll(done => { logoutPage.load().then(done); });