E2E Testing
End-to-end testing, from what it is to how it is done well.
- E2E TestingWhat end-to-end testing is, why it matters, and how Playwright compares to Cypress.
- Accessibility Testing in PlaywrightChecking labels, headings, keyboard access, and WCAG issues with Axe.
- API Testing in PlaywrightVerifying backend behaviour by sending HTTP requests with Playwright's request fixture.
- Best Practices in Playwright TestingReadable, independent, maintainable tests, page objects, and CI integration.
- Challenges in Software TestingLearning curve, maintenance, flaky tests, and the cost of a suite.
- Edge Case Testing in PlaywrightTesting the unhappy paths: empty input, unusual data, boundaries, and invalid interactions.
- Mock API Testing in PlaywrightIntercepting requests with page.route() to test error, loading, and empty states.
- Playwright CommandsThe Playwright CLI commands used day to day: running, reporting, debugging, codegen, and setup.
- Testing a Page with test.describe() and beforeEach()Grouping a page's tests with test.describe() and navigating in beforeEach().
- Understanding Locator Strategies in PlaywrightChoosing locators: role, text, label, placeholder, test id, and CSS.