Kevin C.
I love sharing my learning journey in the technology land and hopefully you can also takeaway some interesting tidbits from mine for your own learning and inspire many others to pass on these knowledges. Enjoy and happy learning & sharing!
https://devopscube.com/what-is-devops-what-does-it-really-mean/
Test features work from the user’s perspective
via Web UI
Complex Deployment & Setup
Flaky Vs. Robustness
Lengthy test runs
Cost of upkeeping / tuning with sleep(), wait()
image source: https://cdn.edureka.co/blog/wp-content/uploads/2017/05/Selenium-blog-1.gif
Headless Browser
=
Chrome without Chrome
TL;DR
https://www.youtube.com/embed/lhZOFUY1weo?enablejsapi=1
https://pptr.dev/#?product=Puppeteer&version=v1.9.0&show=api-overview
https://www.youtube.com/embed/lhZOFUY1weo?enablejsapi=1
Testing from the user’s perspective
https://developers.google.com/web/fundamentals/performance/rail
User having to wait for the browser to respond to an event. Amount of pain is directly proportional to the time user waits
https://developers.google.com/web/updates/2018/05/first-input-delay
https://developers.google.com/web/fundamentals/performance/rail
produce a frame < 10ms
process events
< 50ms
maximize
Time To Interactive
< 5s
By Kevin C.
This presentation demonstrates how we could automate many end-to-end UI tests with Headless Chrome via Puppeteer (Node API). Furthermore, to integrate with the CI pipeline, we can make a docker container that executes the tests.
I love sharing my learning journey in the technology land and hopefully you can also takeaway some interesting tidbits from mine for your own learning and inspire many others to pass on these knowledges. Enjoy and happy learning & sharing!