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
End to End Testing: How to test frontend?
Search
imprashast
May 10, 2019
Programming
1
84
End to End Testing: How to test frontend?
imprashast
May 10, 2019
Tweet
Share
Other Decks in Programming
See All in Programming
為你自己學 Python - 冷知識篇
eddie
1
310
コンテキストエンジニアリング Cursor編
kinopeee
1
740
個人軟體時代
ethanhuang13
0
280
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
230
未来を拓くAI技術〜エージェント開発とAI駆動開発〜
leveragestech
2
200
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
17
3.8k
RDoc meets YARD
okuramasafumi
4
160
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
190
Rancher と Terraform
fufuhu
2
170
More Approvers for Greater OSS and Japan Community
tkikuc
1
110
MLH State of the League: 2026 Season
theycallmeswift
0
210
Oracle Database Technology Night 92 Database Connection control FAN-AC
oracle4engineer
PRO
1
360
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
For a Future-Friendly Web
brad_frost
179
9.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.5k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
4 Signs Your Business is Dying
shpigford
184
22k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Transcript
End to End Testing: How to test frontend? Prashast Mehra
(Finn Travel)
None
Motivation? • Why should you even test the frontend? •
Whats the worse that could happen? • I have unit tested my js code and api’s. So I don’t need this, right?
None
None
Benefits • A simple integration test will make sure that
you never break existing features while making new stuff. • You won’t be scared to update npm dependencies. • You will have more confidence in your production app. • Developer experience will be quite smooth. Etc…
None
Cypress The web has evolved. Finally, testing has too.
Fast, easy and reliable testing for anything that runs in a browser.
None
What have we achieved? • Full confidence over our frontend*
• UI is consistent 99% of the time* • Upgrade design system changes with confidence*
Complexities • Whitelabel • In-app browser • IE
None
None
None
None
• Visual Regression Testing • API Testing • Javascript Testing
• Test Runner • Build Artifacts What this talk is all about
Visual Regression Testing
Upgrading Troika?
Screenshot Diff: After upgrading troika Before After Diff
None
None
None
None
Testing API’s
None
Testing Javascript
None
None
None
None
Test Runner
None
None
Build Artifacts
None
None
What exactly went wrong in this build:
None
– Anonymous (or maybe me) “If you don’t like testing
your product, most likely your customers won’t like to test it either.”
Thank you