feat(rpc): keep non-rpc linux bots for now (#3381)
This commit is contained in:
parent
823ef86470
commit
8bb6d73b44
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
|
@ -198,7 +198,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
browser: [chromium, firefox, webkit]
|
||||
transport: [wire, object]
|
||||
transport: [wire, none]
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
|
|||
7
index.js
7
index.js
|
|
@ -21,4 +21,9 @@ const path = require('path');
|
|||
|
||||
const playwright = new Playwright(__dirname, require(path.join(__dirname, 'browsers.json'))['browsers']);
|
||||
playwright.electron = new Electron();
|
||||
module.exports = setupInProcess(playwright);
|
||||
if (process.env.PWCHANNEL === 'none') {
|
||||
playwright._toImpl = x => x;
|
||||
module.exports = playwright;
|
||||
} else {
|
||||
module.exports = setupInProcess(playwright);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ testOptions.CHROMIUM = browserName === 'chromium';
|
|||
testOptions.FFOX = browserName === 'firefox';
|
||||
testOptions.WEBKIT = browserName === 'webkit';
|
||||
testOptions.USES_HOOKS = process.env.PWCHANNEL === 'wire';
|
||||
testOptions.CHANNEL = true;
|
||||
testOptions.CHANNEL = process.env.PWCHANNEL !== 'none';
|
||||
testOptions.HEADLESS = !!valueFromEnv('HEADLESS', true);
|
||||
testOptions.ASSETS_DIR = path.join(__dirname, '..', 'assets');
|
||||
testOptions.GOLDEN_DIR = path.join(__dirname, '..', 'golden-' + browserName);
|
||||
|
|
|
|||
Loading…
Reference in a new issue