How savianok/pw-ploom-tests works
Project type and purpose
• This is an end-to-end (E2E) testing suite written in TypeScript using the Playwright framework. Its sole responsibility is to automate browser interactions against a web application (the System Under Test), organize test logic into reusable page objects and fixtures, and produce test reports.
File structure
• Top-level files
• package.json / package-lock.json – project dependencies and scripts
• playwright.config.ts – Playwright runner configuration (browsers, timeouts, reporters)
• Directories
• fixtures/ – custom Playwright fixtures and global setup (e.g. baseTest.ts defines test hooks)
• locales/ – test data or translations to parameterize tests (e.g. en.ts)
• pages/ – Page Object Model classes (basePage.ts, homePage.ts, productPage.ts, shopPage.ts) encapsulating selectors & actions
• tests/ – test suites/specs that import fixtures and page classes to drive scenarios (e.g. product-cart.spec.ts)
Elements
• Clear text labels for each component block
• Tests → Fixtures → Playwright Engine
• Tests → Page Objects → Browser
• Page Objects → Locales (data flow)
• Playwright Engine → Reporter