Skip to content

Commit

Permalink
Add tweak for the mysterious e2e test failure .
Browse files Browse the repository at this point in the history
  • Loading branch information
uzulla committed Mar 13, 2021
1 parent 407121a commit 72168ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e2e_test/tests/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class Helper {
this.browser = await puppeteer.launch({
args: ['--lang=ja', '--no-sandbox', '--disable-setuid-sandbox'],
ignoreHTTPSErrors: true,
slowMo: 50, // sometime got `net::ERR_CONNECTION_REFUSED at http://localhost`. this is tweak...
headless: !(process.env.NO_HEAD_LESS === "1") // 動作を確認するなら NO_HEAD_LESS=1 npm run test
});
this.page = await this.browser.newPage();
Expand Down

0 comments on commit 72168ea

Please sign in to comment.