Skip to content

About

🎭 End-to-End (E2E) automated testing suite built with Playwright, TypeScript & CI/CD integration

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

🎭 Playwright Cross-Browser End-to-End Testing Suite (TypeScript)\n\nCI\nTests\nStatus\nLicense: MIT\nTech\n\n
\n\nPlaywright Tests\nPlaywright\nTypeScript\nNodeJS\nDocker\nBrowsers\nLicense\n\nProduction-grade automated cross-browser testing framework utilizing Playwright, TypeScript, and the Page Object Model (POM) pattern with containerized Docker support.\n\nOverview β€’ Key Features β€’ Project Structure β€’ Quick Start β€’ Docker Execution β€’ Reporting\n\n
\n\n---\n\n## πŸ“Œ Overview\n\nThis framework implements enterprise test automation standards validating mission-critical e-commerce user journeys (Authentication, Product Catalogs, Dynamic Filtering, Cart Operations, and Checkout Pipelines) across all major browser rendering engines (Chromium, Firefox, and WebKit).\n\n---\n\n## πŸš€ Key Features\n\n- 🌐 True Cross-Browser Testing: Parallel execution across Desktop Chrome, Firefox, and Safari (WebKit) as well as mobile viewports.\n- πŸ“ Page Object Model (POM): Decoupled selector logic from test assertions for maximum reusability and maintainability.\n- πŸ”„ Auto-Wait & Resilience: Eliminates flaky tests with Playwright's built-in locator polling and smart actionability checks.\n- πŸ“Έ Rich Artifacts: Automatic capturing of video recordings, full-page screenshots, and network request traces on test failures.\n- 🐳 Docker Containerization: Isolated, reproducible test execution in headless Linux environments.\n- πŸ“Š Interactive HTML Reports: Comprehensive graphical test execution dashboards with timeline breakdowns.\n\n---\n\n## πŸ—οΈ Project Structure\n\ntext\nplaywright-tests-/\nβ”œβ”€β”€ .github/ # CI/CD automation workflows\nβ”œβ”€β”€ tests/ # Test suites & specs\nβ”‚ β”œβ”€β”€ auth.spec.ts # Authentication & session validation\nβ”‚ β”œβ”€β”€ cart.spec.ts # Shopping cart & checkout flow\nβ”‚ └── catalog.spec.ts # Product listings & sorting\nβ”œβ”€β”€ pages/ # Page Object Model classes\nβ”œβ”€β”€ playwright.config.ts # Multi-browser & viewport configuration\nβ”œβ”€β”€ Dockerfile # Containerized test runner\n└── package.json # Dependencies & npm test scripts\n\n\n---\n\n## ⚑ Quick Start\n\n### Prerequisites\n- Node.js 18+\n- npm or yarn\n\n### Installation\n\nbash\n# 1. Clone the repository\ngit clone https://github.com/amirthn6533/playwright-tests-.git\ncd playwright-tests-\n\n# 2. Install dependencies\nnpm install\n\n# 3. Download supported browser binaries\nnpx playwright install --with-deps\n\n# 4. Execute test suite across all browsers\nnpm test\n\n# 5. Open the interactive graphical HTML report\nnpx playwright show-report\n\n\n---\n\n## 🐳 Docker Execution\n\nRun the complete test suite in an isolated, headless container:\n\nbash\n# Build the test image\ndocker build -t playwright-tests .\n\n# Run tests in container\ndocker run --rm -e CI=1 playwright-tests\n\n\n---\n\n## πŸ“Š Test Reporting\n\nAfter test execution, launch the visual Playwright report to inspect traces and network logs:\n\nbash\nnpx playwright show-report\n\n\n---\n\n## πŸ“„ License\n\nThis project is licensed under the MIT License.

About

🎭 End-to-End (E2E) automated testing suite built with Playwright, TypeScript & CI/CD integration

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages