Quick
Dev
Guide
Home
›
Playwright
Writing & Running Tests — Playwright
Basic Test Structure Running Tests API Testing with Playwright
Key Takeaways
Use test.describe() to group related tests.
beforeEach() sets up common page state (navigation, login).
expect() provides rich assertions — toBeVisible, toHaveCount, toHaveText.
--headed runs tests with a visible browser for debugging.
Playwright also supports API testing via request context.
Playwright Topics
What is Playwright
Installation & Setup
Code Generation
Writing & Running Tests
Advanced Features
CI/CD Integration