@@ -77,10 +77,11 @@ export function Landing() {
7777 < main >
7878 < section className = "lp-wrap lp-hero" id = "start" >
7979 < div className = "lp-hero-copy" >
80- < h1 > Visual regression tests for PDFs </ h1 >
80+ < h1 > Review every change your tests produce </ h1 >
8181 < p className = "lp-lede" >
82- Upload the PDFs your tests produce. VisualCI renders every page in one place and shows what changed, page
83- by page. Browser and mobile screenshots work too, and so do JSON, HTML and text snapshot tests.
82+ Most visual testing tools stop at the browser. VisualCI also checks the PDFs your app generates and the
83+ JSON, HTML and text snapshots your tests write. Every change lands in one review, page by page and line by
84+ line, and the pull request waits until someone approves it.
8485 </ p >
8586 < SignIn />
8687 </ div >
@@ -181,17 +182,24 @@ export function Landing() {
181182 < section className = "lp-section" id = "snapshots" >
182183 < div className = "lp-wrap lp-split" >
183184 < div className = "lp-stack" >
184- < h2 > Snapshot tests get the same review </ h2 >
185+ < h2 > Stop failing builds on snapshot changes </ h2 >
185186 < p >
186- A changed Jest snapshot usually means a red build and a quick < span className = "mono" > -u</ span > to make
187- it green, often without reading the diff. Send snapshots to VisualCI instead: the build passes, the
188- pull request waits, and someone approves the change after reading it.
187+ A snapshot test fails whenever its output changes, whether the change is a bug or exactly what you
188+ meant. So the fix is usually reflexive: run < span className = "mono" > jest -u</ span > , commit a few hundred
189+ lines of updated snapshots, and let the reviewer scroll past them. The build is green again, and nobody
190+ read what changed.
189191 </ p >
190192 < p >
191- JSON is compared with its keys sorted and HTML with its attributes sorted and whitespace collapsed, so
192- only real changes show. Timestamps and generated IDs are ignored by JSON path or regular expression,
193- per project. The CLI reads the snapshot files Jest, Vitest, insta, syrupy and rspec-snapshot already
194- write, one snapshot per test.
193+ VisualCI handles snapshot changes the way it handles screenshots. CI stays green and the pull
194+ request’s check waits. The reviewer sees a short list of what changed, such as{ ' ' }
195+ < span className = "mono" > $.total 4800 → 4850</ span > , approves it, and the new output becomes the
196+ baseline.
197+ </ p >
198+ < p >
199+ JSON is compared with its keys sorted, and HTML with its attributes sorted and whitespace collapsed, so
200+ reformatting never shows up as a change. Timestamps and generated IDs are ignored per project, by JSON
201+ path or regular expression. The CLI reads the files Jest, Vitest, insta, syrupy and rspec-snapshot
202+ already write.
195203 </ p >
196204 < pre className = "lp-quote lp-code mono" > { 'visualci upload --from auto src tests' } </ pre >
197205 </ div >
0 commit comments