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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
imprashast
May 10, 2019
Programming
1
85
End to End Testing: How to test frontend?
imprashast
May 10, 2019
Tweet
Share
Other Decks in Programming
See All in Programming
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
Oxlint JS plugins
kazupon
1
980
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.3k
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
720
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
620
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
CSC307 Lecture 02
javiergs
PRO
1
780
CSC307 Lecture 06
javiergs
PRO
0
690
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
120
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
CSC307 Lecture 07
javiergs
PRO
1
550
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
The untapped power of vector embeddings
frankvandijk
1
1.6k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
440
Git: the NoSQL Database
bkeepers
PRO
432
66k
The Limits of Empathy - UXLibs8
cassininazir
1
220
The Spectacular Lies of Maps
axbom
PRO
1
520
Exploring anti-patterns in Rails
aemeredith
2
250
The Curious Case for Waylosing
cassininazir
0
240
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
How to build a perfect <img>
jonoalderson
1
4.9k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
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