Skip to content

Commit

Permalink
Try adding a sleep to wait for pp to start
Browse files Browse the repository at this point in the history
  • Loading branch information
cowlicks committed Jul 18, 2019
1 parent 4d37458 commit b026e10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions selenium/integration_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ const {newDriver, startApp, stopApp, firstPartyHost} = require('./utils'),
{cookieApp, fpcookie} = require("./cookies"),
{etagApp} = require('./etags');

async function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}

beforeEach(async function() {
this.driver = await newDriver();
await sleep(250);
});

afterEach(async function() {
await this.driver.quit();
});
Expand Down

0 comments on commit b026e10

Please sign in to comment.