Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Playwright Test Automation: BDD, POM, TypeScript DDT & CI/CD
Rating: 4.1 out of 5(11 ratings)
50 students

Playwright Test Automation: BDD, POM, TypeScript DDT & CI/CD

Master Playwright BDD with POM, Fixtures, DDT, Reporting, Storage State & CI/CD to build a complete automation framework
Last updated 12/2025
English

What you'll learn

  • Build a complete Playwright BDD framework using TypeScript, POM, Fixtures, Hooks, and advanced test runner features.
  • Auto-generate steps, write clean Gherkin scenarios, and integrate Playwright with VSCode tools for faster development.
  • Implement reusable BasePage, inheritance, custom fixtures, storage state, and dynamic object loading patterns.
  • Use scenario outlines, data-driven testing, and cross-browser execution for scalable enterprise test coverage.
  • Integrate Prettier, ESLint, Husky, and Gherkin plugins to enforce clean, consistent code across the framework.
  • Generate Allure, HTML, and Multiple-Cucumber-HTML reports with full steps, screenshots, and integrated CI pipelines.
  • Build and deploy CI/CD pipelines using GitHub Actions to publish Playwright reports to Netlify automatically.
  • Handle authentication, share storage states, debug tests, use tags, and work with multi-environment configs.

Course content

8 sections28 lectures9h 47m total length
  • Playwright Automation: Introduction and Setup Guide with ESLint and Husky22:30

    Learn Playwright automation from installation to setup in JavaScript with VS Code, including npm init playwright and CI/CD with CircusCI and Natlify reports.

  • Playwright.config.js | In-Depth | How to Run Test Cases with Tags and Grep33:20

Requirements

  • Basic JavaScript/TypeScript knowledge is helpful but not required; everything in Playwright BDD, POM, fixtures, CI/CD, and reporting is taught from scratch.

Description

Playwright is a modern, reliable, and highly customizable test automation framework developed by Microsoft.
This course provides a complete, industry-level understanding of Playwright BDD, TypeScript, Page Object Model, Fixtures, Data-Driven Testing, Storage State, Reporting, and CI/CD Pipelines.

We start from the fundamentals of Playwright automation and gradually build a fully scalable, maintainable BDD framework using real-world best practices. Every lesson builds on the previous one, ensuring a smooth learning curve without confusion or gaps.

What This Course Covers

1. Playwright Automation Foundations

  • Complete setup and configuration with TypeScript

  • ESLint, Prettier, Husky and clean code practices

  • Understanding and configuring playwright.config.js

  • Running tests using CLI, test runner, tags and grep

  • Core concepts of fixtures, hooks, and test structure

2. Playwright BDD Framework (Cucumber + Test Runner)

You will build a complete BDD framework from scratch, including:

  • Cucumber integration with Playwright Test Runner

  • Auto-generating steps in VSCode

  • Feature files, step definitions, glue code

  • BasePage, inheritance and shared utilities

  • Page Object Model design and folder structuring

  • Reusable createTestFunction to reduce boilerplate

  • Mastering hooks and tag-based execution

  • Scenario Outlines for multiple test datasets

  • Multi-environment setup for real projects

  • Dynamic object loading and dynamic imports

Each lesson progressively enhances the framework, just like in real professional automation environments.

3. Clean Code, Quality & Best Practices

  • Setting up Prettier and Gherkin plugin

  • Using ESLint and Husky to prevent bad commits

  • Debugging techniques

  • Reducing flaky tests using correct locator strategies

  • Organizing large frameworks in a scalable structure

4. Authentication & Storage State

Learn real-world login and session handling:

  • Login using storage state

  • Saving and reusing cookies and sessions

  • Advanced storage-state management for multiple users

  • Sharing session state across tests

  • Using storage state inside DDT and E2E flows

5. Reporting: Allure and Cucumber

You will integrate professional test reporting:

  • Allure reporting complete setup

  • Capturing screenshots, steps, attachments

  • Multiple-Cucumber-HTML report generation

  • Debug-friendly BDD report configurations

6. CI/CD Pipelines (GitHub Actions + Netlify)

Modern automation frameworks require pipeline integration. You will learn:

  • Setting up GitHub Actions workflows

  • Running Playwright tests in CI

  • Deploying Allure and HTML reports to Netlify

  • Creating per-branch reporting (Preview and Production)

  • Cross-browser execution in pipeline

7. Data Driven Testing

Build a complete DDT setup:

  • Framework setup for data-driven execution

  • Working with multiple data sets

  • Debugging and hover interactions

  • Reusable fixtures for DDT

  • Login using storage state in DDT mode

  • End-to-end testing with shared session state

  • Deploying E2E DDT reports through CI/CD

How to Follow This Course

  • Watch lessons in order because each chapter builds on the previous one.

  • Write code along with the instructor instead of copying.

  • Pause videos when needed and understand the logic behind each change.

  • Use full-screen mode for better visibility of code and text.

Skipping lessons may lead to confusion since the framework is built step-by-step.

What You Will Learn

  • Complete Playwright BDD framework from scratch

  • Cucumber feature files, step definitions, glue layers

  • Page Object Model design with BasePage and inheritance

  • Fixtures, hooks and advanced test lifecycle control

  • Multi-environment setup and environment variables

  • Storage state authentication and session reuse

  • Dynamic imports and object loading

  • HTML and Allure reporting

  • CI/CD integration with GitHub Actions and Netlify

  • Data-driven testing with real-world examples

  • End-to-end automation using Playwright best practices

Outcome

By completing this course, you will have the knowledge and practical skills to build a fully scalable, maintainable, and professional Playwright automation framework. You will be able to automate any modern web application using BDD, POM, fixtures, reporting, CI/CD pipelines and data-driven testing with confidence.

Who this course is for:

  • Testers and QA engineers who want to master Playwright automation with BDD and modern frameworks.
  • Testers and QA engineers who want to master Playwright automation with BDD and modern frameworks.
  • Developers who want to build scalable end-to-end test suites with POM and CI/CD.
  • Teams building enterprise automation frameworks with reporting, pipeline deployment, and reusable patterns.
  • Teams building enterprise automation frameworks with reporting, pipeline deployment, and reusable patterns.