SlideShare a Scribd company logo
C1 Public
Automating screenshot
testing in a component
library
David Lindley & Ben Hudson
C1 Public
3
• Software Engineering Manager at Vodafone
• Been in web development for 9 years
• Wear many hats 🎩 🧢 👒
– Technical Product Owner for Source Web
• Enjoy walking, video games and playing guitar
David Lindley | Who am I?
• Senior Software Engineer
• Been in web development for 13 years
• Been developing in the Source Web team since its
inception
• If I’m not working, I’m on the golf course or spending
time with my family
Ben Hudson | Who am I?
C1 Public
4
What are we talking about today?
What is Source Web?
Auto generations of tests
Vodafone Engineering
Enter Applitools
C2 General
Bringing together 12 teams into ONE to:
Leverage the Scale of a European Technology Team to
drive Business Agility.
Achieve maximum possible re-use while accelerating
market maturity and outcomes
Distributing Digital Engineering capabilities across
markets, while maintaining a strong Global Connection.
We’re part of
something
much bigger
C1 Public
6
Source Web | What is it?
500 unique developers
within Vodafone consume the library
>70000 unique
downloads of the library
6 markets/sub-brands using it for
customer facing applications
220 components
split into atomic design principals
C1 Public
7
Testing
Components
Doc Site
Package Management
Tooling CICD
Source Web | Tech stack
C1 Public
8
Source Web | Welcome Applitools
On boarding Applitools allowed us to do visual regression testing
8
>220
components
3
themes
10
variations
6600 screenshots
Not including breakpoint changes
=
x
x
Per component on average
No integration for Styleguidist
C1 Public
9
Source Web | Styleguidist Vs StoryBook
React Styleguidist
Allows complete customization of the look and feel
Can be used as a shop window for the components
Our users are: Software Engineers, Product Owners, Business Owners, UXers, Testers
Storybook
Simple setup
Lots of integration
C1 Public
10
Source Web | Problem with visual regression testing
How to create visual tests of all components without burning through developer effort?
10
10
>220
components
3
themes
10
variations
6600 screenshots
Not including breakpoint changes
=
x
x
Per component on average
C1 Public
27 September 2022
11
MyComponent1.tsx
MyComponent1.md
MyComponent2.tsx
MyComponent2.md
MyComponent3.tsx
MyComponent1.md
MyComponent1
Examples
MyComponent2
Examples
MyComponent3
Examples
C1 Public
27 September 2022
12
MyComponent1.tsx
MyComponent1.md
MyComponent1 cypress test
Applitools visual test
Using the MD files as our starting
point we could parse them to auto
generate cypress tests
C1 Public
13
Source Web | WebinarCard
Company logo
Title
Sub Title
Presenters picture and name
Favourite
C1 Public
27 September 2022
14
Now we have our starting point – our
MD file. We need to think more about
getting the logic in to auto generate
the cypress tests.
Find all MD files
Read MD file
Find corresponding component
Split MD file by example
Inject into template
For
each
MD
file
Write to file
Auto generated Cypress tests
C1 Public
27 September 2022
15
C1 Public
16
Source Web | Wrapping up
How to create visual tests of all
components without burning through
developer effort?
Use a level of automation to solve problems!
C1 Public
17
Source Web | Future improvements
Automated
screenshot tests
Automated
accessibility tests
Automated
performance tests
visualtests.ejs accessibility.ejs performance.ejs
Thank you.
C1 Public
David Lindley
Software Engineering
Manager, Vodafone UK
Questions?
Ben Hudson
Senior Software Engineer,
Vodafone UK
C1 Public
Get in Touch
Request a Demo
David Lindley
Software Engineering
Manager, Vodafone UK
Ben Hudson
Senior Software Engineer,
Vodafone UK
C1 Public
Visual Testing Learning Path
C1 Public
Visual Testing Learning Path
C1 Public
23

More Related Content

PPTX
Ibm worklight - going from xpages mobile to native mobile applications
PPT
IBM Impact session 1654-how to move an existing cics application to a smartphone
PPTX
Applying DevOps, PaaS and cloud for better citizen service outcomes - IBM Fe...
PPTX
Bluemix summary
PDF
What's New in IBM Cognos BI Version 10.2.1.1, Plus New Product Previews
PPT
ConnectED2015: IBM Domino Applications in Bluemix
PPTX
Next Generation Of Enterprise RIA's
ODP
IBM Connect 2014 KEY102
Ibm worklight - going from xpages mobile to native mobile applications
IBM Impact session 1654-how to move an existing cics application to a smartphone
Applying DevOps, PaaS and cloud for better citizen service outcomes - IBM Fe...
Bluemix summary
What's New in IBM Cognos BI Version 10.2.1.1, Plus New Product Previews
ConnectED2015: IBM Domino Applications in Bluemix
Next Generation Of Enterprise RIA's
IBM Connect 2014 KEY102

Similar to Automating Screenshot Testing Component Library (20)

PPT
The new developer experience
PPTX
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
PDF
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
PDF
Process Improvement in Distributed Software Development Using Eclipse with Me...
PPTX
Applying lean, dev ops, and cloud for better business outcomes
PPT
codeBeamer Eclipse DemoCamp-23.11.2010
PPTX
The Evolution of Industrial Visualization
PPT
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
PDF
How NBCUniversal Adopted DevOps
DOC
Resume_Arindom_Updated
PPT
Worklight mobile v6
PPTX
UrbanCode Deploy course and product overview slides
PPT
Eclipse summit-2010
PDF
CampDevOps keynote - DevOps: Using 'Lean' to eliminate Bottlenecks
PPTX
Overview
PDF
What is Headless and headless 101 at Acquia.pdf
PPTX
IBM Application Delivery Foundation for z Systems
PPTX
Webinar VB6 apps to html5
PDF
Make your TechComm online/offline available
The new developer experience
Plastic SCM: Entreprise Version Control Platform for Modern Applications and ...
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Process Improvement in Distributed Software Development Using Eclipse with Me...
Applying lean, dev ops, and cloud for better business outcomes
codeBeamer Eclipse DemoCamp-23.11.2010
The Evolution of Industrial Visualization
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
How NBCUniversal Adopted DevOps
Resume_Arindom_Updated
Worklight mobile v6
UrbanCode Deploy course and product overview slides
Eclipse summit-2010
CampDevOps keynote - DevOps: Using 'Lean' to eliminate Bottlenecks
Overview
What is Headless and headless 101 at Acquia.pdf
IBM Application Delivery Foundation for z Systems
Webinar VB6 apps to html5
Make your TechComm online/offline available
Ad

More from Applitools (20)

PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
PDF
Code and No-Code Journeys: The Maintenance Shortcut
PDF
Code and No-Code Journeys: The Coverage Overlook
PDF
Creating Automated Tests with AI - Cory House - Applitools.pdf
PDF
Navigating EAA Compliance in Testing.pdf
PDF
AI-Assisted, AI-Augmented & Autonomous Testing
PDF
Code or No-Code Tests: Why Top Teams Choose Both
PDF
The ROI of AI-Powered Testing, presented by Applitools
PDF
Building No-code Autonomous E2E Tests_Applitools.pdf
PDF
Conquer 6 Testing Challenges_Applitools.pdf
PDF
Autonomous End-to-End Testing for Online Banking Applications Presented with ...
PDF
Playwright Visual Testing Best Practices, presented by Applitools
PDF
Cross-Browser and Cross-Device Testing | Applitools in Action
PDF
Advanced Debugging Techniques | Applitools in Action.pdf
PDF
AI-Powered Testing Strategies for the Seasonal Shopping Surge.pdf
PDF
Test Automation for Dynamic Applications _ Applitools in Action.pdf
PDF
Proven Approaches to AI-Powered E2E Testing.pdf
PDF
Applitools Autonomous 2.0 Sneak Peek.pdf
PDF
Building the Ideal CI-CD Pipeline_ Achieving Visual Perfection
PDF
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Applitools Platform Pulse: What's New and What's Coming - July 2025
Code and No-Code Journeys: The Maintenance Shortcut
Code and No-Code Journeys: The Coverage Overlook
Creating Automated Tests with AI - Cory House - Applitools.pdf
Navigating EAA Compliance in Testing.pdf
AI-Assisted, AI-Augmented & Autonomous Testing
Code or No-Code Tests: Why Top Teams Choose Both
The ROI of AI-Powered Testing, presented by Applitools
Building No-code Autonomous E2E Tests_Applitools.pdf
Conquer 6 Testing Challenges_Applitools.pdf
Autonomous End-to-End Testing for Online Banking Applications Presented with ...
Playwright Visual Testing Best Practices, presented by Applitools
Cross-Browser and Cross-Device Testing | Applitools in Action
Advanced Debugging Techniques | Applitools in Action.pdf
AI-Powered Testing Strategies for the Seasonal Shopping Surge.pdf
Test Automation for Dynamic Applications _ Applitools in Action.pdf
Proven Approaches to AI-Powered E2E Testing.pdf
Applitools Autonomous 2.0 Sneak Peek.pdf
Building the Ideal CI-CD Pipeline_ Achieving Visual Perfection
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Ad

Recently uploaded (20)

PPTX
Transform Your Business with a Software ERP System
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
L1 - Introduction to python Backend.pptx
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
System and Network Administration Chapter 2
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
medical staffing services at VALiNTRY
PDF
top salesforce developer skills in 2025.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Digital Strategies for Manufacturing Companies
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Transform Your Business with a Software ERP System
Operating system designcfffgfgggggggvggggggggg
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
L1 - Introduction to python Backend.pptx
Navsoft: AI-Powered Business Solutions & Custom Software Development
Design an Analysis of Algorithms I-SECS-1021-03
System and Network Administration Chapter 2
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
How Creative Agencies Leverage Project Management Software.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Upgrade and Innovation Strategies for SAP ERP Customers
CHAPTER 2 - PM Management and IT Context
medical staffing services at VALiNTRY
top salesforce developer skills in 2025.pdf
Understanding Forklifts - TECH EHS Solution
Wondershare Filmora 15 Crack With Activation Key [2025
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Digital Strategies for Manufacturing Companies
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)

Automating Screenshot Testing Component Library

  • 2. Automating screenshot testing in a component library David Lindley & Ben Hudson
  • 3. C1 Public 3 • Software Engineering Manager at Vodafone • Been in web development for 9 years • Wear many hats 🎩 🧢 👒 – Technical Product Owner for Source Web • Enjoy walking, video games and playing guitar David Lindley | Who am I? • Senior Software Engineer • Been in web development for 13 years • Been developing in the Source Web team since its inception • If I’m not working, I’m on the golf course or spending time with my family Ben Hudson | Who am I?
  • 4. C1 Public 4 What are we talking about today? What is Source Web? Auto generations of tests Vodafone Engineering Enter Applitools
  • 5. C2 General Bringing together 12 teams into ONE to: Leverage the Scale of a European Technology Team to drive Business Agility. Achieve maximum possible re-use while accelerating market maturity and outcomes Distributing Digital Engineering capabilities across markets, while maintaining a strong Global Connection. We’re part of something much bigger
  • 6. C1 Public 6 Source Web | What is it? 500 unique developers within Vodafone consume the library >70000 unique downloads of the library 6 markets/sub-brands using it for customer facing applications 220 components split into atomic design principals
  • 7. C1 Public 7 Testing Components Doc Site Package Management Tooling CICD Source Web | Tech stack
  • 8. C1 Public 8 Source Web | Welcome Applitools On boarding Applitools allowed us to do visual regression testing 8 >220 components 3 themes 10 variations 6600 screenshots Not including breakpoint changes = x x Per component on average No integration for Styleguidist
  • 9. C1 Public 9 Source Web | Styleguidist Vs StoryBook React Styleguidist Allows complete customization of the look and feel Can be used as a shop window for the components Our users are: Software Engineers, Product Owners, Business Owners, UXers, Testers Storybook Simple setup Lots of integration
  • 10. C1 Public 10 Source Web | Problem with visual regression testing How to create visual tests of all components without burning through developer effort? 10 10 >220 components 3 themes 10 variations 6600 screenshots Not including breakpoint changes = x x Per component on average
  • 11. C1 Public 27 September 2022 11 MyComponent1.tsx MyComponent1.md MyComponent2.tsx MyComponent2.md MyComponent3.tsx MyComponent1.md MyComponent1 Examples MyComponent2 Examples MyComponent3 Examples
  • 12. C1 Public 27 September 2022 12 MyComponent1.tsx MyComponent1.md MyComponent1 cypress test Applitools visual test Using the MD files as our starting point we could parse them to auto generate cypress tests
  • 13. C1 Public 13 Source Web | WebinarCard Company logo Title Sub Title Presenters picture and name Favourite
  • 14. C1 Public 27 September 2022 14 Now we have our starting point – our MD file. We need to think more about getting the logic in to auto generate the cypress tests. Find all MD files Read MD file Find corresponding component Split MD file by example Inject into template For each MD file Write to file Auto generated Cypress tests
  • 16. C1 Public 16 Source Web | Wrapping up How to create visual tests of all components without burning through developer effort? Use a level of automation to solve problems!
  • 17. C1 Public 17 Source Web | Future improvements Automated screenshot tests Automated accessibility tests Automated performance tests visualtests.ejs accessibility.ejs performance.ejs
  • 19. C1 Public David Lindley Software Engineering Manager, Vodafone UK Questions? Ben Hudson Senior Software Engineer, Vodafone UK
  • 20. C1 Public Get in Touch Request a Demo David Lindley Software Engineering Manager, Vodafone UK Ben Hudson Senior Software Engineer, Vodafone UK
  • 21. C1 Public Visual Testing Learning Path
  • 22. C1 Public Visual Testing Learning Path