Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Let's get visual - Visual testing in your project
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ramona Schwering
November 24, 2021
Programming
1k
0
Share
Let's get visual - Visual testing in your project
Ramona Schwering
November 24, 2021
More Decks by Ramona Schwering
See All by Ramona Schwering
Vue'tiful Defense
leichteckig
0
57
Workshop: The Cake is a Lie!
leichteckig
0
21
The Cake Is a Lie... And So Is Your Login’s Accessibility
leichteckig
0
170
Plants vs thieves: Automated Tests in the World of Web Security
leichteckig
0
210
From the Crypt to the Code
leichteckig
0
210
You shall not pass!? A short story of customizable login experiences
leichteckig
0
83
Access Granted!
leichteckig
0
130
Who are vue? Authn in Vue, the important parts
leichteckig
0
110
Vue Fortified: Best Practices for Web App Security
leichteckig
0
150
Other Decks in Programming
See All in Programming
Kubernetes上でAgentを動かすための最新動向と押さえるべき概念まとめ
sotamaki0421
3
440
Coding as Prompting Since 2025
ragingwind
0
770
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
140
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
150
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.1k
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
230
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
600
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
200
存在論的プログラミング: 時間と存在を記述する
koriym
5
840
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
170
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
250
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
190
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
528
40k
Balancing Empowerment & Direction
lara
5
1k
My Coaching Mixtape
mlcsv
0
96
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
430
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
680
Measuring & Analyzing Core Web Vitals
bluesmoon
9
800
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
150
New Earth Scene 8
popppiees
3
2k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
54k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
310
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
520
Transcript
None
None
None
[Screenshot eines
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
// First: Loading installation script // Run install script ./vrt-install.sh
// Next: Install Cypress plugin npm install @visual-regression-tracker/agent-cypress
None
None
None
main 6.4.7.0
6.4.7.0 6.4.7.0
None
None
None
None
name: CI on: [push, pull_request] jobs: build: runs-on: ubuntu-latest steps:
- name: Checkout uses: actions/
[email protected]
- name: Install run: yarn - name: Percy Test uses: percy/
[email protected]
with: command: "cypress run" env: PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
[Screenshot Percy Gitlab]
None
Percy im Test - Code im Test
None
None
None
None
None
const now = new Date(2018, 1, 1) .getTime(); // freezes
the system time to Jan 1, 2018 cy.clock(now); // continue with your normal tests below
None
// Wait for loading times cy.get('.grid-selection‘) .should('not.exist'); cy.get('.sw-loader') .should('not.exist');
None
None
None
// Command usage await percySnapshot('Home page', { percyCSS: `iframe {
display: none; }` }); version: 1 snapshot: percy-css: | iframe { display: none; }
// An own Command Cypress.Commands.add('changeElementStyling', (selector, imageStyle) => { //
E.g. replace the image with a fixed one cy.get(selector) .invoke('attr', 'style', imageStyle) .should('have.attr', 'style', imageStyle); });
None
None
None
None