Site in use:
https://demo-saas.bugbug.io/sign-up
Repository with the code:
https://github.com/igo0r/signup-gmail...
Gmail Auth:
https://developers.google.com/workspa...
Gmail Email fetch:
https://developers.google.com/workspa...
Automate your entire signup and email verification process using Playwright and the Gmail API!
In this video, I’ll show you step by step how to:
Register a new user with Playwright
Connect to Gmail API
Fetch and parse the verification email
Extract the confirmation link
Complete the account verification automatically
Perfect for QA engineers, SDETs, and anyone building robust E2E tests with Playwright in TypeScript.
📘 What you’ll learn:
Gmail API setup and OAuth token generation
Integrating Gmail API with Playwright tests
Handling real email verification links
End-to-end test best practices
💡 Technologies Used:
Playwright, TypeScript, Gmail API, Node.js
📺 Watch till the end for stability tips and CI/CD setup advice!
#Playwright #AutomationTesting #QA #SDET #GmailAPI #TypeScript #e2e
CHAPTERS:
00:00 Intro
00:28 Tools overview
01:59 Setup GCloud project
04:38 Install Playwright
06:21 Create Gmail service
10:30 Fetch one-time auth token
13:30 Create sign up test
13:30 Fetch gmail email using API
24:00 Running/Debugging flow
31:15 Conclusions