Skip to content

Commit 7039409

Browse files
authored
test: skip devtools test with USES_HOOKS (#2895)
1 parent cb8b1bc commit 7039409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/chromium/launcher.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
const path = require('path');
1818
const utils = require('../utils');
1919
const {makeUserDataDir, removeUserDataDir} = utils;
20-
const {FFOX, CHROMIUM, WEBKIT, WIN, CHANNEL} = utils.testOptions(browserType);
20+
const {FFOX, CHROMIUM, WEBKIT, WIN, USES_HOOKS} = utils.testOptions(browserType);
2121

2222
describe('launcher', function() {
2323
it('should throw with remote-debugging-pipe argument', async({browserType, defaultBrowserOptions}) => {
@@ -32,7 +32,7 @@ describe('launcher', function() {
3232
const browser = await browserType.launchServer(options);
3333
await browser.close();
3434
});
35-
it('should open devtools when "devtools: true" option is given', async({browserType, defaultBrowserOptions}) => {
35+
it.skip(USES_HOOKS)('should open devtools when "devtools: true" option is given', async({browserType, defaultBrowserOptions}) => {
3636
let devtoolsCallback;
3737
const devtoolsPromise = new Promise(f => devtoolsCallback = f);
3838
const __testHookForDevTools = devtools => devtools.__testHookOnBinding = parsed => {

0 commit comments

Comments
 (0)