Add multi browser tests + wabac.js update (#420)
Fidelity: Fix CSP issue with iframes in Firefox (via wabac.js 2.23.0) Loading: Avoid unnecessary reloads of multiWACZ JSON, prune expired multiWACZ collections Testing improvements: - add playwright multi browser tests with firefox and webkit - add test of iframe replay with iframetest.wacz deps: update to wabac.js 2.23.0 bump to 2.3.9
This commit is contained in:
+16
-1
@@ -1,7 +1,22 @@
|
||||
/* eslint-env node */
|
||||
import { defineConfig } from "@playwright/test";
|
||||
import { defineConfig, devices } from "@playwright/test";
|
||||
export default defineConfig({
|
||||
reporter: process.env.CI ? "github" : "list",
|
||||
expect: { timeout: 30_000 },
|
||||
projects: [
|
||||
{
|
||||
name: "chrome",
|
||||
use: { ...devices['Desktop Chrome'], channel: "chrome" },
|
||||
},
|
||||
{
|
||||
name: 'firefox',
|
||||
use: { ...devices['Desktop Firefox'] },
|
||||
},
|
||||
{
|
||||
name: 'webkit',
|
||||
use: { ...devices['Desktop Safari'] },
|
||||
},
|
||||
],
|
||||
webServer: [
|
||||
{
|
||||
command: "yarn run start-docs-prod",
|
||||
|
||||
Reference in New Issue
Block a user