Automate One Time Password (OTP) using Cypress
8.7 هزار بار بازدید -
2 سال پیش
-
🌟Let's cover how to Automate
🌟Let's cover how to Automate One Time Password (OTP) using Cypress. For this video, we will be using a free sms receiving service and go over the Two Factor Authentication (2FA) flow for the GitHub website. There’s lot covered in this video:
- How to make API request with Cypress
- How to parse HTML body
- How to work with regex
- and more..
⏳𝐕𝐈𝐃𝐄𝐎 𝐂𝐇𝐀𝐏𝐓𝐄𝐑𝐒⏳
0:00 - Intro
1:28 - Demo OTP flow
7:53 - Write Test for OTP with Cypress
10:41 - Run Initial Cypress test
14:28 - Parse OTP Token Line
17:18 - Write Test to Parse Code
20:15 - Pause Test to retrieve Code
22:02 - Parse OTP Code
25:48 - Pass OTP Code to GitHub
30:54 - Review
📂 𝗩𝗶𝗱𝗲𝗼 𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲𝘀:
Playwright Course Access: bit.ly/3FBs5ZL
Code Access: bit.ly/3gVg2Nj
Promises Video: • JavaScript Callback & Promises | Asyn...
Async-Await Video: • JavaScript Async Await | JavaScript B...
🎓 Get access to all the courses and begin your SDET journey - bit.ly/3CkdVud
✨ 𝐉𝐎𝐈𝐍 𝐀𝐮𝐭𝐨𝐦𝐚𝐭𝐢𝐨𝐧 𝐁𝐫𝐨 - 𝐃𝐢𝐥𝐩𝐫𝐞𝐞𝐭 𝐉𝐨𝐡𝐚𝐥✨
Channel Link:
🔗youtube.com/@dilpreetjohal/featured
📧 Subscribe to my mailing list for all the latest updates -
automationbro.com/mailing-list
✒️ Check out my blogs at - automationbro.com/
🚀 Enjoying my content and would like to support my work? Why not buy me a coffee! or Subscribe to this channel! 🚀
www.buymeacoffee.com/automationbro
youtube.com/@dilpreetjohal?sub_confirmation=1
🍁 𝐀𝐁𝐎𝐔𝐓 𝐀𝐮𝐭𝐨𝐦𝐚𝐭𝐢𝐨𝐧 𝐁𝐫𝐨 - 𝐃𝐢𝐥𝐩𝐫𝐞𝐞𝐭 𝐉𝐨𝐡𝐚𝐥🍁
Hi, I'm Dilpreet, a seasoned SDET Consultant from Toronto with over 7 years of experience in the IT industry. As someone who began as a manual QA, I've acquired most of my knowledge through self-learning, and I'm a firm believer that it's never too late to start learning new skills.
I know first hand the challenges of not knowing where to start and feeling 'stuck.' That's why I've designed my teaching approach to be accessible and beginner-friendly, so you can confidently kickstart your learning journey.
This YouTube channel is my platform to share valuable insights and expertise I've gained over the years, helping you learn new skills independently. We'll explore various programming languages, frameworks, and tools, ensuring you stay current with the latest trends and technologies.
Embark on your learning adventure by subscribing now and hitting the bell icon for video notifications. Let's transform your tech skills together!
📌𝗖𝗵𝗲𝗰𝗸𝗼𝘂𝘁 𝐀𝐮𝐭𝐨𝐦𝐚𝐭𝐢𝐨𝐧 𝐁𝐫𝐨 - 𝐃𝐢𝐥𝐩𝐫𝐞𝐞𝐭 𝐉𝐨𝐡𝐚𝐥'𝐬 𝗢𝘁𝗵𝗲𝗿 𝗩𝗶𝗱𝗲𝗼𝘀 🎥
➟Top 3 Mistakes of Test Automation Engineers Make | Automation Bro - Dilpreet Johal
🔗 • Top 3 Mistakes of Test Automation Eng...
➟Newman Data Driven Testing | Newman Postman Tutorial
🔗 • Newman Data Driven Testing | Newman P...
➟Data Driven testing using Postman JSON file
🔗 • Data Driven testing using Postman JSO...
➟Harnessing AI in Test Automation: Exciting Upcoming Workshop! 🚀
🔗 • Harnessing AI in Test Automation: Exc...
💌 𝐋𝐄𝐓'𝐒 𝐒𝐓𝐀𝐘 𝐈𝐍 𝐓𝐎𝐔𝐂𝐇 💌
➟ Email - [email protected]
➟ Twitter: bit.ly/dilpreet-twitter
➟ LinkedIn: bit.ly/sdet-u-linkedin
➟ Dev.to: dev.to/automationbro
➟ Instagram: bit.ly/sdet-u-instagram
➟ Website: bit.ly/sdet-u-academy
Thanks for watching :)
#otp #cypress #automation #AutomateOTP #CypressAutomation #2FAFlow #APIRequest
2 سال پیش
در تاریخ 1401/08/23 منتشر شده
است.
8,788
بـار بازدید شده