https://github.com/furionix-labs/playwright-email-verification-example
Example Playwright end-to-end test for user registration and email verification using Tigrmail API.
https://github.com/furionix-labs/playwright-email-verification-example
api demo e2e email end example playwright registration signup test tigrmail to typescript verification
Last synced: 2 months ago
JSON representation
Example Playwright end-to-end test for user registration and email verification using Tigrmail API.
- Host: GitHub
- URL: https://github.com/furionix-labs/playwright-email-verification-example
- Owner: furionix-labs
- License: mit
- Created: 2025-07-01T10:09:28.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-01T10:14:18.000Z (12 months ago)
- Last Synced: 2025-07-01T11:28:08.889Z (12 months ago)
- Topics: api, demo, e2e, email, end, example, playwright, registration, signup, test, tigrmail, to, typescript, verification
- Language: TypeScript
- Homepage: https://tigrmail.com
- Size: 10.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Playwright Registration & Email Verification Example (Tigrmail)
This project demonstrates how to write an end-to-end (E2E) registration and email verification test using [Playwright](https://playwright.dev/) and [Tigrmail](https://tigrmail.com?utm_source=github-pw-example&utm_medium=readme) as the email API.
## Prerequisites
- [Node.js](https://nodejs.org/) installed
- [Tigrmail](https://tigrmail.com?utm_source=github-pw-example&utm_medium=readme) account (for API token)
## Setup
1. **Install dependencies**
```sh
npm install
```
2. **Get a Tigrmail API token**
- Sign up or log in at [https://console.tigrmail.com](https://console.tigrmail.com?utm_source=github-pw-example&utm_medium=readme)
- Copy your API token
3. **Configure environment variables**
- Copy `.env.example` to `.env`
- Paste your Tigrmail API token as the value for `TIGRMAIL_TOKEN` in `.env`
## Running the test
To run the test in Playwright UI mode (for interactive debugging):
```sh
npx playwright test --ui
```
## What this example does
- Opens the signup page
- Fills in a unique email and password
- Submits the registration form
- Waits for the verification email via Tigrmail
- Extracts the verification link and completes the flow
---
For more details about Tigrmail, visit [tigrmail.com](https://tigrmail.com?utm_source=github-pw-example&utm_medium=readme).