Skip to content

Commit

Permalink
chore(browsers-smoketests): Optionally run chrome smoketests with --e…
Browse files Browse the repository at this point in the history
…nable-features=NativeCrxBindings
  • Loading branch information
rpl committed Jun 1, 2018
1 parent 8599e40 commit 354ebc9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/integration/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ const launchBrowser = async (launchOptions) => {
"--no-sandbox",
]);

if (process.env.TEST_NATIVE_CRX_BINDINGS === "1") {
console.warn("NOTE: Running tests on a Chrome instance with NativeCrxBindings enabled.");
options.addArguments([
"--enable-features=NativeCrxBindings",
]);
}

driver = await new Builder()
.forBrowser("chrome")
.setChromeOptions(options)
Expand Down

0 comments on commit 354ebc9

Please sign in to comment.