chromaui / chromatic-cli

Chromatic CLI: `npx chromatic`
https://www.chromatic.com/docs/cli
MIT License
289 stars 70 forks source link

Update task output to account for E2E #1096

Closed codykaup closed 1 month ago

codykaup commented 1 month ago

When using our E2E integration (Playwright or Cypress), it can be rather confusing to see "Storybook" and "stories" everywhere. This changes those to reference "Test suite" and "tests" through the UI.

The biggest change I had to make for this was to pass the main Context around to set the task title and output based on if it's an E2E build or not.

📦 Published PR as canary version: 11.15.0--canary.1096.11448539011.0
:sparkles: Test out this PR locally via: ```bash npm install chromatic@11.15.0--canary.1096.11448539011.0 # or yarn add chromatic@11.15.0--canary.1096.11448539011.0 ```
codacy-production[bot] commented 1 month ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +12.36% (target: -1.00%) :white_check_mark: 84.23% (target: 80.00%)
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (fd1359f895e6f39adeccbd102b7088fce97c8a98) | 8540 | 4677 | 54.77% | | | Head commit (035243b51f320db8f16f673d2cdf55e90aed0fab) | 7057 (-1483) | 4737 (+60) | 67.12% (**+12.36%**) | **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 (#1096) | 298 | 251 | **84.23%** | **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

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

github-actions[bot] commented 1 month ago

📦 Package Size: 5380 KB ⚠️ Compared to main: +4 KB fd1359f895e6f39adeccbd102b7088fce97c8a98 (5376 KB)

chromatic-ci-bot commented 1 month ago

:rocket: PR was released in v11.14.0 :rocket: