Initial curated itworx-knowledge-hub source from 3b1751d0d9dee551aa6994eee0093704dc334817

This commit is contained in:
Public Source Publisher committed 2026-10-01 01:37:37 +02:00
commit ad8ad252a9
825 files changed
+124216

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
import { defineConfig, devices } from "@playwright/test";
const baseURL = process.env.KNOWLEDGE_HUB_E2E_BASE_URL ?? "http://localhost:1240";
export default defineConfig({
testDir: "./specs",
// The suite intentionally shares one setup-created workspace and mutates its
// contents. Parallel workers would therefore race through the same UI state.
workers: 1,
globalSetup: "./global-setup.ts",
outputDir: "../../artifacts/playwright-results",
reporter: [
["list"],
["html", { outputFolder: "../../artifacts/playwright-report", open: "never" }]
],
use: {
baseURL,
trace: "retain-on-failure",
screenshot: "only-on-failure",
video: "retain-on-failure"
},
projects: [
{
name: "chromium-desktop",
use: { ...devices["Desktop Chrome"] }
},
{
name: "chromium-mobile",
use: { ...devices["Pixel 7"] }
}
],
expect: {
timeout: 10_000
},
timeout: 30_000
});