Spaces:
Running
Running
File size: 608 Bytes
843a4b2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import { defineConfig, devices } from "@playwright/test";
// Smoke test only: serve the static folder and confirm the app's module
// graph (including the CDN host-shell + SDK imports) loads in a real browser
// without fatal errors. The full embed flow needs a live robot.
export default defineConfig({
testDir: "./tests/e2e",
timeout: 45_000,
use: {
baseURL: "http://localhost:4321",
...devices["Desktop Chrome"],
},
webServer: {
command: "python3 -m http.server 4321",
port: 4321,
reuseExistingServer: true,
timeout: 20_000,
},
});
|