Automated testing with Playwright - up1/training-courses GitHub Wiki

Outline

  • Test design
  • Test strategies
  • Good test cases
    • Fast
    • Isolated
    • Repeatable
    • Self-validate
    • Thorough
  • Introduction to Playwright
    • Overview
    • Install and config
    • Create first project
    • Write first test case
    • Run test
      • Command line
      • User Interface
    • Report
    • Record and playback
  • Testing types
    • Web browser testing
    • Screenshot testing (Visual testing)
    • API testing
  • Test structure of Playwright
  • Workshop with Web browser testing
    • Selectors and interactions
    • Assertion
    • Improve test structure
      • Page-objects
    • Waiting and timeout
    • Grouping test cases
    • Readable test cases
  • Test double with Playwright
    • Fixtures to manage test data
    • Mocking server response
  • End-to-End testing
    • Strategies for writing end-to-end tests with Playwright
    • Handling user authentication in tests
    • Environment managements
    • Flaky test
  • Better practices to use Playwright
    • Organizing tests and test files
    • Speeding up test runs
    • Avoiding common pitfalls