diff --git a/codecept.conf.js b/codecept.conf.js index 1720da7f7..ab74bdce4 100644 --- a/codecept.conf.js +++ b/codecept.conf.js @@ -17,8 +17,7 @@ const commonConfigObj = { browser: BROWSER_NAME, url: 'http://localhost:8000', smartWait: DEFAULT_WAIT_TIME, - restart: false, - keepBrowserState: true, + restart: true, waitForTimeout: DEFAULT_WAIT_TIME }; diff --git a/functional-tests/header_test.js b/functional-tests/header_test.js index d28356f91..7b466b7d2 100644 --- a/functional-tests/header_test.js +++ b/functional-tests/header_test.js @@ -1,7 +1,7 @@ const { SELECTOR_BOX_PREVIEW_BTN_DOWNLOAD, SELECTOR_DOWNLOAD_IFRAME } = require('./constants'); const { expect } = require('chai'); -Feature('Header'); +Feature('Header', { retries: 3 }); Before((I) => { I.amOnPage('/functional-tests/index.html'); diff --git a/functional-tests/sanity_test.js b/functional-tests/sanity_test.js index a6ee2951e..f975c3a28 100644 --- a/functional-tests/sanity_test.js +++ b/functional-tests/sanity_test.js @@ -1,4 +1,4 @@ -Feature('Sanity'); +Feature('Sanity', { retries: 3 }); const bpLoaded = '.bp-loaded'; Before((I) => {