Unfortunately, for proper package pathing, need to remove the `site/` subpath. This includes: - Moving everything back into root - Adding a `copy-site.sh` script to copy resources into `mkdocs/site/` before building the site with mkdocs. - Also update examples to ensure all are loading the local sw.js / ui.js - Consolidate examples in `docs/examples` - Consolidate assets under src/assets/ - Move `favicons` to root - Reformat and relint - Tests: update playwright tests to use mkdocs output, add test for embed in docs - bump to 2.0.0-beta.2
26 lines
666 B
JavaScript
26 lines
666 B
JavaScript
/* eslint-env node */
|
|
import { defineConfig } from "@playwright/test";
|
|
export default defineConfig({
|
|
reporter: process.env.CI ? "github" : "list",
|
|
webServer: [
|
|
{
|
|
command: "yarn run start-docs-prod",
|
|
url: "http://127.0.0.1:9990",
|
|
timeout: 120 * 1000,
|
|
reuseExistingServer: !process.env.CI,
|
|
},
|
|
{
|
|
command: "yarn run test-start-embed",
|
|
url: "http://127.0.0.1:8020",
|
|
timeout: 120 * 1000,
|
|
reuseExistingServer: !process.env.CI,
|
|
},
|
|
{
|
|
command: "yarn run test-start-sandbox",
|
|
url: "http://127.0.0.1:8030",
|
|
timeout: 120 * 1000,
|
|
reuseExistingServer: !process.env.CI,
|
|
},
|
|
],
|
|
});
|