Skip to content

Commit

Permalink
Chore: add retries to functional tests (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanDeMicco authored Feb 8, 2018
1 parent e68af74 commit fe5ebdc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions codecept.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down
2 changes: 1 addition & 1 deletion functional-tests/header_test.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
2 changes: 1 addition & 1 deletion functional-tests/sanity_test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature('Sanity');
Feature('Sanity', { retries: 3 });
const bpLoaded = '.bp-loaded';

Before((I) => {
Expand Down

0 comments on commit fe5ebdc

Please sign in to comment.