• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 15181398340 / 2
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 22 May 2025 09:41AM UTC
Files 654
Run time 15s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 May 2025 08:07AM UTC coverage: 80.976% (+2.1%) from 78.911%
15181398340.2

push

github

web-flow
ci(chromatic): run tests daily DEV-103 (#5781)

### 📣 Summary

Once a day run Chromatic visual tests to verify we don't have unwanted
changes.

### 💭 Notes

Changes here:
- Added CI file for daily run of Chromatic
- Changed npm scripts for Chromatic usage

The `actions/checkout@v4` is forced to use `main` branch (and its latest
commit), so that we can obtain commit title and sha correctly. The
chromatic build fails ATM because it lacks npm script (added in this PR,
not present on `main`). It will work (🤞) as soon as we merge the PR :)

The workflow with Chromatic is:
1. Push some commit
2. See CI fails on Chromatic
3. Go to https://www.chromatic.com/builds?appId=682744cb1774e12b2cb1b0a2
4. Review changes
   1. If the changes are good (e.g. improving a component)
      1. **accept** them in Chromatic UI
      2. re-run failed CI job
      3. see that it succeeded
   2. If the changes are bad (e.g. introduced unwanted visual change)
      1. **deny** them in Chromatic UI
      2. fix the issue
      3. push a commit
      4. see that CI job suceeded

### 👀 Preview steps

To test it fully comment out `ref: "main"` from "Run Chromatic test"
job. Then the commit title and url would come from `main` branch, and
the chromatic build would be done on the PR branch.

Testing:
1. add `on: pull_request` to `.github/workflows/ci-daily.yml`
6. push a commit
7. 🟢 notice that the CI passes
8. change one of the components with stories so that it would look
different (e.g. add some padding)
9. push a commit
10. 🟢 notice that the CI fails
11. see failed build at
https://www.chromatic.com/builds?appId=682744cb1774e12b2cb1b0a2

---------

Co-authored-by: Akuukis <Akuukis@users.noreply.github.com>

6304 of 9982 branches covered (63.15%)

23841 of 29442 relevant lines covered (80.98%)

0.81 hits per line

Source Files on job 15181398340.2
  • Tree
  • List 654
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15181398340
  • 53fc8c1a on github
  • Prev Job for on main (#15162346322.1)
  • Next Job for on main (#15183109836.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc