Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Visuelle Regression
Search
Rainer Hahnekamp
September 30, 2021
Technology
51
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Visuelle Regression
Slides for a talk about Visual Regression at the EnterJS 2021.
Rainer Hahnekamp
September 30, 2021
More Decks by Rainer Hahnekamp
See All by Rainer Hahnekamp
Angular Architecture Revisited Modernizing Angular Architectural Patterns
rainerhahnekamp
0
300
NgRx SignalStore: The Power of Extensibility
rainerhahnekamp
0
430
Vitest Highlights in Angular
rainerhahnekamp
0
460
From Hours to Minutes - An AI Case Study with Sheriff
rainerhahnekamp
0
77
RxJS, Signals, and Native Observables: Answering the Critical Questions
rainerhahnekamp
0
58
Zurück in den Browser – Das Comeback der Frontend-Tests
rainerhahnekamp
0
160
From Hours to Minutes: An AI Case Study with Sheriff
rainerhahnekamp
0
270
RxJS, Signals & Native Observables
rainerhahnekamp
0
230
The Road to Angular Today Milestones, Mistakes & Momentum
rainerhahnekamp
0
220
Other Decks in Technology
See All in Technology
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1.1k
USB PDを使ってスマホを労わりたい
raspython3
0
180
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
200
Classmethod Company Deck
satoshi7
1
690
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
160
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
250
今さら理解するウェブフォントver.2026
takanorip
3
790
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
4
1.1k
パッチ更新でterraform initが落ちた日
grimoh
1
140
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
1
340
会社説明資料
persolserverworks
0
9.8k
Featured
See All Featured
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
Building Flexible Design Systems
yeseniaperezcruz
330
41k
New Earth Scene 8
popppiees
4
2.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Faster Mobile Websites
deanohume
310
32k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Building Adaptive Systems
keathley
44
3.2k
How STYLIGHT went responsive
nonsquared
100
6.3k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Transcript
Visuelle Regression enterJs 2021 - 30.9.2021 Rainer Hahnekamp https://github.com/rainerhahnekamp/visual-regression-enterjs
Über mich • Rainer Hahnekamp ANGULARarchitects.io • Trainings and Consultancy
• > 20 Years Experience @RainerHahnekamp https://angulararchitects.io/workshops
None
Demoanwendung
Headless Browser Tests 1 3 4 Frontend Applikation 2
Puppetteer • Inkludiert Headless Browser • Spezielle Jest Konfiguration notwendig
• Debug Modus möglich
Puppeteer Demo
Herausforderungen 1. Pixelabgleich 2. Komponentenisolation
None
Finde den Unterschied
Finde den Unterschied
None
Komponenten Isolation
Storybook
Frontend Applikation 2 Headless Browser Tests 1 3 4
2 Headless Browser Tests 1 3 4 Storybook Code (Komponenten)
Storybook • Rendert Komponenten in Isolation • Frameworkunabhängig • Konfiguration
von Komponenten in verschiedenen Ausprägungen • Kann auch als "Komponentengallerie" verwendet werden
Storybook Setup - "Modul" Konfiguration - 1/2 export default {
title: 'Eternal/HolidayCard', component: HolidayCardComponent, decorators: [moduleMetadata({ imports: [MatButtonModule, MatCardModule] })] } as Meta;
Storybook Setup - Variation - 2/2 export const Default =
() => { props: { holiday: { id: 1, title: 'Holiday', description: 'A holiday', imageUrl: 'https://eternal-app.s3.eu-central-1.amazonaws.com/assets/AngkorWatSmall.jpg' } } }
None
Storybook Demo
2 Headless Browser Tests 1 3 4 Storybook Code (Komponenten)
Pixelabgleich mit Storybook?
2 Headless Browser Test Specs 1 3 4 Storybook Application
Code (Components)
Cloudanbieter
Zusammenfassung • Visuelle Regression als wichtige Testmethode • Spezielle Anforderungen
an Infrastruktur ◦ Docker ◦ Cloudanbieter • Storybook für Komponenten Isolation bzw. Widget Gallerie • Testingtools: ◦ Jest & Puppeteer ◦ Playwright ◦ Cypress • Architektur auf Testen ausrichten