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 - Visuelles Testing in Deinem ...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ramona Schwering
April 16, 2021
Programming
140
0
Share
Let's get visual - Visuelles Testing in Deinem Symfony Projekt
Ramona Schwering
April 16, 2021
More Decks by Ramona Schwering
See All by Ramona Schwering
Vue'tiful Defense
leichteckig
0
64
Workshop: The Cake is a Lie!
leichteckig
0
25
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
220
From the Crypt to the Code
leichteckig
0
220
You shall not pass!? A short story of customizable login experiences
leichteckig
0
86
Access Granted!
leichteckig
0
140
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
Symfony AI in Action - SymfonyLive Berlin 2026
chr_hertel
1
160
SkillsをS3 Filesに置く時のあれこれ
watany
3
1.6k
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
2k
Sans tests, vos agents ne sont pas fiables
nabondance
0
140
決定論 vs 確率論:Gemini 3 FlashとTF-IDFを組み合わせた「法規判定エンジン」の構築
shukob
0
170
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.6k
Agent Skills を社内で育てる仕組み作り
jackchuka
1
2.1k
PHPでバイナリをパースして理解するASN.1
muno92
PRO
0
460
AgentCore Optimizationを始めよう!
licux
3
260
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
110
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
0
120
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.9k
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
Technical Leadership for Architectural Decision Making
baasie
3
370
Designing for Timeless Needs
cassininazir
1
220
Odyssey Design
rkendrick25
PRO
2
620
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
59
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.7k
How to Ace a Technical Interview
jacobian
281
24k
The Invisible Side of Design
smashingmag
302
52k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
180
Fireside Chat
paigeccino
42
3.9k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Transcript
None
None
None
[Screenshot eines Visual bugs]
None
None
None
None
None
None
None
None
None
Nimm Cypress oder Panther… lege Screenshots irgendwo hin… mache Screenshots
im Test und vergleiche sie
None
Applitools Percy Storybook Open Source Plugins … und viele mehr
…
None
npm install --save-dev @percy/cypress … oder … yarn add --dev
@percy/cypress Installation
Einbindung // Am Anfang der cypress/support/commands.js import '@percy/cypress'; // In
cypress/plugins/index.js let percyHealthCheck = require(‚@percy/cypress/task'); module.exports = (on, config) => { on("task", percyHealthCheck); };
it('should screensshot', () => { cy.visit('/'); // Takes snapshot cy.percySnapshot('Titel');
}); Percy im Test
Percy im Test - Code im Test Percy als Tool
None
None
[Screenshot Percy Gitlab]
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 Zeit auf dem Client beeinflussen
None
Warten bis alles fertig ist // Beispiel: Ladezustände abwarten cy.get('.sw-data-grid__skeleton')
.should('not.exist'); cy.get('.sw-loader') .should('not.exist');
None
// Ein eigenes Command Cypress.Commands.add('changeElementStyling', (selector, imageStyle) => { //
Hier z.B. das Bild mit einem anderen ersetzen cy.get(selector) .invoke('attr', 'style', imageStyle) .should('have.attr', 'style', imageStyle); }); Ins CSS der Seite eingreifen
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 }} Github Action
None
None
None
None
None