mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
test: support e2e in storybook (#1533)
This commit is contained in:
@@ -55,6 +55,16 @@ const config: PlaywrightTestConfig = {
|
||||
JWST_DEV: '1',
|
||||
},
|
||||
},
|
||||
{
|
||||
command: 'yarn run build:storybook && yarn run start:storybook',
|
||||
port: 6006,
|
||||
timeout: 120 * 1000,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
env: {
|
||||
COVERAGE: process.env.COVERAGE || 'false',
|
||||
ENABLE_DEBUG_PAGE: '1',
|
||||
},
|
||||
},
|
||||
{
|
||||
command: 'yarn build && yarn start -p 8080',
|
||||
port: 8080,
|
||||
|
||||
Reference in New Issue
Block a user