Describe the bug
just updated playwright, storybook and test-runner to latest verisons, installed playwright dependency chromium-1091 and still get the following error message when running tests for every story:
FAIL browser: chromium stories/CenteredMessage.stories.tsx
ā Test suite failed to run
Invalid version: "118.5"
at Object.fixVersionField (node_modules/normalize-package-data/lib/fixer.js:191:13)
at node_modules/normalize-package-data/lib/normalize.js:32:38
at Array.forEach (<anonymous>)
at normalize (node_modules/normalize-package-data/lib/normalize.js:31:15)
at module.exports (node_modules/read-pkg/index.js:20:36)
at module.exports (node_modules/read-pkg-up/index.js:14:16)
at setupPage (node_modules/@storybook/test-runner/dist/setup-page.js:63:27)
at CustomEnvironment.setup (node_modules/@storybook/test-runner/playwright/custom-environment.js:8:5)
the latest version
run storybook yarn http-server storybook-static --port 6006 --silent
in another terminal run yarn test-storybook
Expected behavior
test should run, or there should be a documented way to use a specific browser version
Describe the bug just updated playwright, storybook and test-runner to latest verisons, installed playwright dependency chromium-1091 and still get the following error message when running tests for every story:
the latest version run storybook
yarn http-server storybook-static --port 6006 --silent
in another terminal runyarn test-storybook
Expected behavior test should run, or there should be a documented way to use a specific browser version
System
Additional context before updating playwright it complained that the chromium dir is missing, but that should be fixed now.