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
85
End to End Testing: How to test frontend?
imprashast
May 10, 2019
Tweet
Share
Other Decks in Programming
See All in Programming
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
Fluid Templating in TYPO3 14
s2b
0
130
CSC307 Lecture 08
javiergs
PRO
0
670
Oxlintはいいぞ
yug1224
5
1.3k
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
310
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.5k
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
Architectural Extensions
denyspoltorak
0
290
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
470
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
980
Featured
See All Featured
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Game over? The fight for quality and originality in the time of robots
wayneb77
1
120
How to Think Like a Performance Engineer
csswizardry
28
2.4k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
37k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
290
Technical Leadership for Architectural Decision Making
baasie
2
250
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
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