Cypress is now tested as well (archives are taken locally with yarn test:cypress, then yarn archive-storybook:cypress)
Common test fixtures (all the HTML, images, etc) are in common folder (tests/fixtures, that’s half the file changes shown)
New chromaui/cypress-e2e Chromatic project created (and renamed chromaui/test-archiverproject to chromaui/playwright-e2e)
README updated to clarify how to run our tests
How to test
Playwright:
Ensure all tests pass and snapshotted UI doesn't look any different
Cypress:
Run yarn test:cypress locally
Verify tests pass
Run yarn archive-storybook:cypress locally
Verify stories look just like the Playwright ones do (should have same title per test)
View UI Tests and make sure stories look like they did for Playwright
[x] Author QA
[ ] Reviewer QA
Change Type
[ ] maintenance
[ ] documentation
[x] patch
[ ] minor
[ ] major
📦 Published PR as canary version: 0.0.53--canary.51.40cf414.0
:sparkles: Test out this PR locally via:
```bash
npm install @chromaui/test-archiver@0.0.53--canary.51.40cf414.0
# or
yarn add @chromaui/test-archiver@0.0.53--canary.51.40cf414.0
```
What Changed
yarn test:cypress
, thenyarn archive-storybook:cypress
)tests/fixtures
, that’s half the file changes shown)chromaui/cypress-e2e
Chromatic project created (and renamedchromaui/test-archiver
project tochromaui/playwright-e2e
)How to test
Playwright:
Cypress:
Run
yarn test:cypress
locallyVerify tests pass
Run
yarn archive-storybook:cypress
locallyVerify stories look just like the Playwright ones do (should have same title per test)
View UI Tests and make sure stories look like they did for Playwright
[x] Author QA
[ ] Reviewer QA
Change Type
maintenance
documentation
patch
minor
major
📦 Published PR as canary version:
0.0.53--canary.51.40cf414.0
:sparkles: Test out this PR locally via: ```bash npm install @chromaui/test-archiver@0.0.53--canary.51.40cf414.0 # or yarn add @chromaui/test-archiver@0.0.53--canary.51.40cf414.0 ```