Playwright 101 Workshop

From User Stories to Automated Tests with Playwright, GitHub Copilot & Azure DevOps

Playwright Tests GitHub Pages

This hands-on workshop guides manual QA professionals through the transition to automated testing with Playwright. In approximately one hour, participants move from writing user stories and acceptance criteria to generating, running, and maintaining automated browser tests. The workshop integrates GitHub Copilot for AI-assisted test generation and Azure DevOps for continuous integration pipelines.

Quick Start

git clone https://github.com/devopsabcs-engineering/playwright-101.git
cd playwright-101/playwright-tests
npm install
npx playwright install
npx playwright test

Workshop Site

Access the full workshop content at devopsabcs-engineering.github.io/playwright-101.

Workshop Modules

Module Duration Description
Lab 00: Environment Setup 10 min Install Node.js, VS Code, Playwright extension, and GitHub Copilot
Lab 01: User Stories & Test Cases 10 min Write user stories with acceptance criteria and derive test cases
Lab 02: First Playwright Tests 15 min Generate and run browser tests against a live site
Lab 03: GitHub Copilot for Testing 10 min Use AI-assisted test generation and refactoring
Lab 04: CI/CD with Azure DevOps 15 min Configure automated test runs in a CI pipeline

Prerequisites

  • Node.js 18 or later
  • Visual Studio Code with Playwright Test extension
  • GitHub Copilot subscription (for Lab 03)
  • Azure DevOps account (for Lab 04)
  • Git

License

This project is licensed under the MIT License.


This site uses Just the Docs, a documentation theme for Jekyll.