openpencil/playwright.storybook.config.ts
Danila Poyarkov e69ba75c12
refactor(ui): compose shared editor controls (#670)
* refactor(ui): extract shared action and navigation primitives

* refactor(ui): compose settings and libraries with shared tabs

* feat(ui): preserve native activation and toolbar keyboard navigation

* refactor(home): share document entries and accessible input controls

* fix(layers): share virtualized row geometry and selection styling

* refactor(layout): compose spacing and readable dimension controls

* refactor(properties): compose advanced strokes and inline effects

* refactor(ui): reuse actions in page and property controls

* refactor(settings): adopt shared actions without changing workflows

* refactor(ui): share collaboration and provider actions

* refactor(ui): finish shell and paint action composition

* test(ui): restore extracted control and settings coverage

* test(ui): complete workflow extraction coverage

* fix(ui): address review and trim redundant snapshots

* fix(layout): preserve single-step Undo for guides and wrap
2026-09-10 12:09:06 +03:00

21 lines
516 B
TypeScript

import { defineConfig } from '@playwright/test'
export default defineConfig({
testDir: './tests/e2e/storybook',
timeout: 30_000,
workers: 1,
use: {
baseURL: 'http://localhost:6017',
viewport: { width: 800, height: 600 },
deviceScaleFactor: 1,
reducedMotion: 'reduce'
},
projects: [{ name: 'storybook-chromium' }],
webServer: {
command: 'bun run storybook -- --port 6017 --ci --no-open',
url: 'http://localhost:6017',
reuseExistingServer: false,
timeout: 120_000
}
})