test: support e2e in storybook (#1533)

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

No files matched your search

+10
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,