mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
test: remove isHeadless check (#12015)
This commit is contained in:
parent
1eb6a33aa0
commit
acb6f83ab0
@ -47,6 +47,12 @@
|
||||
"parameters": ["webDriverBiDi"],
|
||||
"expectations": ["SKIP"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[headful.spec] *",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
"parameters": ["firefox"],
|
||||
"expectations": ["SKIP"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[idle_override.spec] *",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
@ -384,12 +390,6 @@
|
||||
"parameters": ["webDriverBiDi"],
|
||||
"expectations": ["FAIL"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[headful.spec] *",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
"parameters": ["cdp", "firefox"],
|
||||
"expectations": ["SKIP"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[idle_override.spec] *",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
|
@ -12,11 +12,11 @@ import expect from 'expect';
|
||||
import type {PuppeteerLaunchOptions} from 'puppeteer-core/internal/node/PuppeteerNode.js';
|
||||
import {rmSync} from 'puppeteer-core/internal/node/util/fs.js';
|
||||
|
||||
import {getTestState, isHeadless, launch} from './mocha-utils.js';
|
||||
import {getTestState, launch} from './mocha-utils.js';
|
||||
|
||||
const TMP_FOLDER = path.join(os.tmpdir(), 'pptr_tmp_folder-');
|
||||
|
||||
(!isHeadless ? describe : describe.skip)('headful tests', function () {
|
||||
describe('headful tests', function () {
|
||||
/* These tests fire up an actual browser so let's
|
||||
* allow a higher timeout
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user