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:
Ilya Kreymer
2025-05-14 21:26:01 -07:00
committed by GitHub
parent 62c30e7838
commit 69983af3a8
11 changed files with 139 additions and 27 deletions
+16 -1
View File
@@ -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",