mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-24 02:02:42 +00:00
* fix(app): preserve mobile sidebar scroll position when reopening Keep hidden native overlays laid out so Android touch cancellation cannot spring retained scroll offsets through a zero scroll range. Hide and gate touch input on the UI thread to preserve panel motion during JS stalls. * docs(app): quote sidebar replay workspace examples * test(website): read plugin HTML without waiting for remote images * test(website): exercise built worker in browser checks The ordered plugin spec reproduces a no-response navigation timeout against a cold development server. Build and preview the published worker for E2E checks; preserve the original content and metadata assertions.
21 lines
667 B
TypeScript
21 lines
667 B
TypeScript
import { defineConfig, devices } from "playwright/test";
|
|
|
|
const baseURL = process.env.WEBSITE_TEST_URL ?? "http://127.0.0.1:8187";
|
|
|
|
export default defineConfig({
|
|
testDir: "./e2e",
|
|
workers: 1,
|
|
use: { baseURL, screenshot: "only-on-failure", trace: "retain-on-failure" },
|
|
projects: [
|
|
{ name: "chromium", use: { ...devices["Desktop Chrome"] } },
|
|
{ name: "webkit", use: { ...devices["Desktop Safari"] } },
|
|
],
|
|
webServer: process.env.WEBSITE_TEST_URL
|
|
? undefined
|
|
: {
|
|
command: "npm run build && npm run preview -- --host 127.0.0.1 --port 8187 --strictPort",
|
|
url: baseURL,
|
|
reuseExistingServer: !process.env.CI,
|
|
},
|
|
});
|