Playwright + TypeScript + POM: Test Automation Guide

Learn how to automate tests for Parabank with Playwright, TypeScript, and POM in this comprehensive tutorial. 🚀

Playwright + TypeScript + POM: Test Automation Guide
Matheus Beck
5.8K views • Mar 24, 2025
Playwright + TypeScript + POM: Test Automation Guide

About this video

In this video, I'll show you how to write test automation for the website Parabank Parasoft using Playwright, TypeScript and Page Object Model (POM). I'll also show you how to automatically generate tests using Codegen, how to create a reusable authentication setup, how to implement a retry register mechanism, how to use the Faker.js library to generate random test data, how to skip tests based on previous executions and how to clean a user session file before each test execution.

Useful links mentioned in this video:
- https://github.com/matheus-beck-qa/playwright-typescript-pom-tutorial
- http://parabank.parasoft.com/
- https://playwright.dev/
- https://fakerjs.dev/

Chapters:
00:00 - Introduction
01:00 - Install Playwright with TypeScript
04:17 - Generate Test Automation using Codegen
12:15 - Applying Page Object Model
23:00 - Creating a Retry Register Function
28:07 - Saving the User Session
33:29 - Writing More Tests
44:09 - Conditionally Skipping a Test
45:01 - Verifying If Everything is Working as Expected

Tags:
#Playwright #TypeScript #PageObjectModel #SoftwareTesting #SoftwareTestingTools #QualityAssurance #QAEngineer #QAEngineering #ProgrammingTips #POM #GitHubActions #TestAutomation #EndToEndTesting

Video Information

Views

5.8K

Likes

173

Duration

49:44

Published

Mar 24, 2025

User Reviews

4.6
(1)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.