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
1.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
59
Workshop: The Cake is a Lie!
leichteckig
0
21
The Cake Is a Lie... And So Is Your Login’s Accessibility
leichteckig
0
180
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
84
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
160
Other Decks in Programming
See All in Programming
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
130
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
120
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
340
Swift Concurrency Type System
inamiy
0
530
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
0
250
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
200
Don't Prompt Harder, Structure Better
kitasuke
0
770
Kingdom of the Machine
yui_knk
2
360
t *testing.T は どこからやってくるの?
otakakot
1
670
年間50登壇、単著出版、雑誌寄稿、Podcast出演、YouTube、CM、カンファレンス主催……全部やってみたので面白さ等を比較してみよう / I’ve tried them all, so let’s compare how interesting they are.
nrslib
4
790
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
370
ハーネスエンジニアリングにどう向き合うか 〜ルールファイルを超えて開発プロセスを設計する〜 / How to approach harness engineering
rkaga
23
13k
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
220
How GitHub (no longer) Works
holman
316
150k
Navigating Team Friction
lara
192
16k
Prompt Engineering for Job Search
mfonobong
0
270
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
350
Facilitating Awesome Meetings
lara
57
6.8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.6k
The agentic SEO stack - context over prompts
schlessera
0
750
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
150
ラッコキーワード サービス紹介資料
rakko
1
3.1M
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