Commit f635ee3
ci: keep visual-regression baselines refreshing and surface Cypress failures
The baseline job ran Cypress without continue-on-error, so failing a11y/console
assertions aborted the job before the "Push baselines" step — silently freezing
the visual-baselines branch on every merge since the dark/light theme suite
landed. Decouple baseline capture from the assertion gate: Cypress runs with
continue-on-error, the screenshots always flatten and push (if: always()), and a
trailing step fails the job for visibility if Cypress failed. Baselines now
refresh on every merge regardless of the a11y/console outcome.
Also add a "Cypress assertions" pass/fail line to the sticky PR comment so
failures are visible even when the visual diff is clean, and remove the leftover
TEMP diff-demo fixture step and regression-test/cypress/diff-demo/.
Refs: INSTUI-5137
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 30c7251 commit f635ee3
5 files changed
Lines changed: 23 additions & 50 deletions
File tree
- .github/workflows
- regression-test/cypress/diff-demo
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
| |||
53 | 61 | | |
54 | 62 | | |
55 | 63 | | |
| 64 | + | |
56 | 65 | | |
57 | 66 | | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| 70 | + | |
61 | 71 | | |
62 | 72 | | |
63 | 73 | | |
| |||
67 | 77 | | |
68 | 78 | | |
69 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 80 | | |
94 | 81 | | |
95 | 82 | | |
| |||
173 | 160 | | |
174 | 161 | | |
175 | 162 | | |
176 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
177 | 166 | | |
178 | 167 | | |
179 | 168 | | |
| |||
186 | 175 | | |
187 | 176 | | |
188 | 177 | | |
189 | | - | |
| 178 | + | |
190 | 179 | | |
191 | 180 | | |
192 | 181 | | |
| |||
This file was deleted.
Binary file not shown.
Binary file not shown.
0 commit comments