chromaui / chromatic-e2e

Archive end-to-end tests to be replayed in Storybook and Chromatic
MIT License
13 stars 3 forks source link

pin rrweb-snapshot version to fix import error #157

Closed winkerVSbecks closed 3 weeks ago

winkerVSbecks commented 3 weeks ago

Issue: https://chromaticqa.slack.com/archives/C04QR9ZN6A0/p1718300982485899

rrweb-snapshot version 2.0.0-alpha.15 added an exports field to their package.json which is breaking the import within our playwright package. When running Playwright tests, using @chromatic-com/playwright, we get this error:

Error: Package subpath './dist/rrweb-snapshot.js' is not defined by "exports" in /mealdrop-demo/node_modules/rrweb-snapshot/package.json

What Changed

Pinned rrweb-snapshot version to 2.0.0-alpha.14

How to test

Playwright tests with using @chromatic-com/playwright should run successfully

codacy-production[bot] commented 3 weeks ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +0.00% (target: -1.00%) :white_check_mark: (target: 80.00%)
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (b979a223cdfb05361c71b0cf30af8a6bc9722eba) | 224 | 214 | 95.54% | | | Head commit (06b792f7e9bb688c54163b131eea5f982dd82f4c) | 224 (+0) | 214 (+0) | 95.54% (**+0.00%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#157) | 0 | 0 | **∅ (not applicable)** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences


:rocket: Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more