test: support e2e in storybook (#1533)

This commit is contained in:
Himself65
2023-03-24 22:25:27 -05:00
committed by GitHub
parent 6d13716e97
commit d8e48ef6aa
10 changed files with 1103 additions and 378 deletions

View File

@@ -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,