mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: enable test for ff (#12037)
This commit is contained in:
parent
f3afc06894
commit
7284576690
@ -47,12 +47,6 @@
|
||||
"parameters": ["webDriverBiDi"],
|
||||
"expectations": ["SKIP"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[headful.spec] *",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
"parameters": ["firefox"],
|
||||
"expectations": ["SKIP"]
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[idle_override.spec] *",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
|
@ -22,8 +22,8 @@ describe('headful tests', function () {
|
||||
*/
|
||||
this.timeout(20_000);
|
||||
|
||||
let headfulOptions: PuppeteerLaunchOptions | undefined;
|
||||
let headlessOptions: PuppeteerLaunchOptions & {headless: boolean};
|
||||
let headfulOptions: PuppeteerLaunchOptions & {headless: false};
|
||||
let headlessOptions: PuppeteerLaunchOptions & {headless: true};
|
||||
|
||||
const browsers: Array<() => Promise<void>> = [];
|
||||
|
||||
@ -32,10 +32,10 @@ describe('headful tests', function () {
|
||||
skipLaunch: true,
|
||||
});
|
||||
headfulOptions = Object.assign({}, defaultBrowserOptions, {
|
||||
headless: false,
|
||||
headless: false as const,
|
||||
});
|
||||
headlessOptions = Object.assign({}, defaultBrowserOptions, {
|
||||
headless: true,
|
||||
headless: true as const,
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user