gourses

← Volver a la búsqueda

Playwright Automation with TypeScript

udemy · Desarrollo · ⭐ 4.42 (52 reseñas) · All Levels · en · ⏱ 6,5 h

Impartido por Aliaksandr Khvastovich · 264 alumnos

19.99 USD

Entra en tu cuenta para guardar este curso y volver a él cuando quieras.

Comparar este curso
Ver curso en udemy

Enlace de afiliado: podemos cobrar comisión, sin coste extra para ti. Más información

Descripción

Learn Playwright + TypeScript by building a maintainable, production‑ready test suite step by step. We start with a fast JS to TS primer for testers, then move from first run to a clean Page Object Model, fixtures, API tests, network mocking, visual/a11y checks, and CI/CD. What you’ll do • Set up Node, VS Code, and Playwright • Use robust locators and assertions to write readable, flaky‑free tests. • Capture and refactor Codegen output into clean, reusable test code. • Add visual snapshots, debug with the HTML report, trace, and video. • Intercept/mimic API calls to test slow responses, errors, and edge cases. • Validate REST APIs directly with Playwright’s request library. • Check accessibility with axe and address common WCAG issues. • Organize everything with a Page Object Model and Playwright fixtures. • Ship tests in CI with GitHub Actions and artifacts. • Explore AI‑assisted testing to draft, refactor, and review scenarios safely. By the end, you’ll be able to design and build your own Playwright solution tailored to your product and team workflow—using reliable locators and assertions, a clean POM architecture, reusable fixtures, API and network tests, visual and accessibility checks, and a fast GitHub Actions pipeline. You’ll leave with a comprehensive, job‑ready starter template (POM + fixtures + utilities + CI) and the know‑how to adapt it to new apps, add custom helpers, and scale your suite with confidence. In the final module, we add AI‑assisted testing—showing how to use tools like Copilot/MCP Server to draft tests, generate data, refactor POMs, and review failures with human‑in‑the‑loop guardrails.

Lo que aprenderás

  • Install Playwright with TypeScript and run your first tests
  • Design a Page Object Model with Playwright fixtures to manage setup, test data, and auth.
  • Test REST APIs with Playwright: send requests, validate status codes and payloads.
  • Run tests in CI/CD with GitHub Actions, secrets, artifacts, and a status badge.
  • Explore AI-assisted workflows (e.g., Copilot) to draft and refine Playwright tests.

Requisitos

  • Basic JavaScript familiarity (TypeScript basics are taught).