Fix Shorts support and add userscript voting

Harden Shorts controls, reaction state, and navigation; share voting logic
with the extension; improve ratio-bar rendering; and add comprehensive Jest,
Playwright, artifact, and live-browser regression coverage.
This commit is contained in:
Anarios committed 2026-09-01 23:41:28 +02:00
1 parent 4e6dfd1977
commit 3657de9b2c
74 files changed
+23328 -588

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
const { defineConfig, devices } = require("@playwright/test");
module.exports = defineConfig({
testDir: "./Extensions/UserScript/e2e",
testMatch: "**/*.e2e.js",
testIgnore: "**/live/**",
fullyParallel: false,
forbidOnly: Boolean(process.env.CI),
retries: process.env.CI ? 1 : 0,
workers: process.env.CI ? 1 : undefined,
timeout: 15_000,
expect: {
timeout: 5_000,
},
reporter: process.env.CI ? [["line"], ["html", { open: "never", outputFolder: "playwright-report" }]] : "list",
use: {
...devices["Desktop Chrome"],
browserName: "chromium",
serviceWorkers: "block",
trace: "retain-on-failure",
screenshot: "only-on-failure",
video: "off",
},
outputDir: "test-results/userscript",
});