Skip to content

Commit

Permalink
add short interval before the last network request completes
Browse files Browse the repository at this point in the history
  • Loading branch information
crashuniverse committed Aug 30, 2017
1 parent 430f66a commit 43d10d9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/efforts.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
this.efforts = (browser) => {
const username = process.env.USERNAME;
const password = process.env.PASSWORD;
const ci = process.env.CI;

const SHORT_INTERVAL = 5000;
const LONG_INTERVAL = 10000;
Expand Down Expand Up @@ -31,10 +30,6 @@ this.efforts = (browser) => {
browser.waitForElementVisible(nodeSelector, SHORT_INTERVAL);
browser.setValue(nodeSelector, '8');
browser.click('#submitdata');
}

if (!ci) {
// observe: for humans
browser.pause(SHORT_INTERVAL);
}

Expand Down

0 comments on commit 43d10d9

Please sign in to comment.