Skip to content

Commit

Permalink
fix: puppeteer use with protractor
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Aug 25, 2022
1 parent 4fbcfe0 commit c3814b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions generators/app/templates/__e2e/e2e/_protractor.conf.js
@@ -1,6 +1,9 @@
// @ts-check
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts
<% if (props.tools.includes('puppeteer')) { -%>
process.env.CHROME_BIN = require('puppeteer').executablePath();
<% } -%>

const { SpecReporter } = require('jasmine-spec-reporter');

Expand Down

0 comments on commit c3814b6

Please sign in to comment.