Skip to content

test: capture five table views for visual regression - #64

Merged
funkadelic merged 5 commits into
mainfrom
test/chromatic-visual-snapshots
Sep 3, 2026
Merged

test: capture five table views for visual regression#64
funkadelic merged 5 commits into
mainfrom
test/chromatic-visual-snapshots

Conversation

@funkadelic

@funkadelic funkadelic commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Adds visual regression testing over five views of the table: the default list, a searched and sorted page, dark theme, right to left, and an empty result.

Adds a Chromatic spec over the default, filtered, dark, right-to-left and empty views, plus the npm script that uploads what the sweep archives. Lint now ignores test-results, where the archived page resources land. The first run needs a project token and is not wired into CI.
Runs last in the verify job, over the archives the sweep already wrote. A visual change exits zero, so the accept gate is Chromatic's own pull request check rather than a red build. The step is skipped when no token is present, which is every fork pull request.
@codecov

codecov Bot commented Sep 2, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@funkadelic funkadelic self-assigned this Sep 2, 2026
@funkadelic
funkadelic marked this pull request as ready for review September 2, 2026 22:51
@codecov

codecov Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (2b744db) to head (20a87e2).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #64   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           40        40           
  Lines          565       565           
  Branches       100       100           
=========================================
  Hits           565       565           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@funkadelic funkadelic added dependencies Pull requests that update a dependency file ci labels Sep 2, 2026
@funkadelic
funkadelic force-pushed the test/chromatic-visual-snapshots branch from 158255c to 63681c3 Compare September 2, 2026 22:55
Both event types reached the step, in different concurrency groups, so every commit was captured and metered twice. The upload no longer waits out the capture, and the token now sits on the one step that needs it rather than in the environment of all twenty.
On a pull request the checkout is a merge ref, so the CLI filed each build against a commit that exists in no branch and is later collected, losing the author, the date and the pull request status link. The action reads the head commit off the event payload instead.
@sonarqubecloud

sonarqubecloud Bot commented Sep 3, 2026

Copy link
Copy Markdown

@funkadelic
funkadelic merged commit 503ebe1 into main Sep 3, 2026
11 checks passed
@funkadelic
funkadelic deleted the test/chromatic-visual-snapshots branch September 3, 2026 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant