{"id":28718737,"url":"https://github.com/rennanreis/web-automation-suite","last_synced_at":"2026-05-04T12:34:40.411Z","repository":{"id":293764205,"uuid":"985055719","full_name":"rennanreis/web-automation-suite","owner":"rennanreis","description":"End-to-end automation tests for Swag Labs using Playwright.","archived":false,"fork":false,"pushed_at":"2025-05-30T21:13:01.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T04:39:41.454Z","etag":null,"topics":["ci-cd","devops-tools","e2e-testing","github-actions","page-object-model","playwright","qa-automation","software-quality","test-automation","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rennanreis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-17T01:39:26.000Z","updated_at":"2025-05-30T21:13:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd0898b1-7d85-470f-b0ee-2c7c046fc07d","html_url":"https://github.com/rennanreis/web-automation-suite","commit_stats":null,"previous_names":["rennanreis/web-automation-suite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rennanreis/web-automation-suite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rennanreis%2Fweb-automation-suite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rennanreis%2Fweb-automation-suite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rennanreis%2Fweb-automation-suite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rennanreis%2Fweb-automation-suite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rennanreis","download_url":"https://codeload.github.com/rennanreis/web-automation-suite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rennanreis%2Fweb-automation-suite/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259924678,"owners_count":22932782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci-cd","devops-tools","e2e-testing","github-actions","page-object-model","playwright","qa-automation","software-quality","test-automation","typescript"],"created_at":"2025-06-15T05:03:33.495Z","updated_at":"2026-05-04T12:34:35.388Z","avatar_url":"https://github.com/rennanreis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Automation Suite\n\n![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)\n![Status: Portfolio](https://img.shields.io/badge/status-portfolio-blue)\n![Last Update](https://img.shields.io/badge/last%20update-May%202025-brightgreen)\n\n\u003e ⚠️ This project is part of a personal portfolio and is not open to external contributions (pull requests or issues) at this time.\n\nAn end-to-end test automation suite for the [Sauce Labs Demo Site](https://www.saucedemo.com/) using Playwright and TypeScript.  \nIt demonstrates modern QA practices like Page Object Model, custom fixtures, reusable test flows, and future-proof structure.\n\n---\n\n## 🚀 Quick Start\n\n```bash\n# Clone the repo\ngit clone https://github.com/your-username/web-automation-suite\n\n# Install dependencies\nnpm install\n\n# Run all tests\nnpx playwright test\n\n# Run a specific test\nnpx playwright test tests/cart.spec.ts\n\n# Run in headed mode\nnpx playwright test --headed\n\n# Launch test runner UI\nnpx playwright test --ui\n```\n---\n\n## Repository Structure\n\n```\n├── page-objects/        # Page Object Model definitions\n├── fixtures/            # Custom test fixtures (auth, data, setup)\n├── tests/               # Individual test files\n├── playwright.config.ts # Playwright configuration\n├── README.md            # Project documentation\n```\n\n---\n\n## ✅ Covered Test Scenarios\n\n- **Login:** Valid, invalid and locked credentials  \n- **Search \u0026 Sorting:** Sorting by price and name (A-Z, Z-A, low-high, high-low)  \n- **Cart:** Adding and removing products  \n- **Checkout:** Successful checkout flow and validation of required fields  \n- **Confirmation:** Confirmation message + return navigation  \n\n---\n\n## 🧪 Fixtures \u0026 Reusability\n\nThis project uses Playwright’s custom fixtures to:\n\n- Reuse login flows (`loginAsStandardUser`)\n- Set up products in cart (`addProductToCart`, `loginAndAddProductToCart`)\n- Navigate directly to protected routes (`navigateToProducts`)\n- Centralize test data (`testData` fixture with valid/invalid users and product names)\n- Clean up state before/after tests (`resetState`)\n\n➡️ This drastically reduces boilerplate and improves test readability.\n\n---\n\n## 🧠 Project Highlights\n\n- Page Object Model for clean test logic and maintenance  \n- Custom fixtures to handle setup, teardown, and user flows  \n- English comments and clear test scenarios  \n- Modular and scalable structure  \n- Commit history follows Conventional Commits for clarity  \n- Tailored for QA portfolios and real-world team practices  \n\n---\n\n## 📌 Roadmap \u0026 Status\n\n- ✅ Page Object Model applied to all test suites  \n- ✅ Centralized and reusable fixtures implemented  \n- ✅ All major flows (positive and negative) tested  \n- ✅ Test comments standardized in English  \n- ✅ Project structure cleaned and documented  \n\n### 🔄 Suggested Future Improvements\n\n- 🔧 Add CI pipeline with GitHub Actions for automated test runs  \n- 📊 Generate and track test coverage reports  \n- 🌀 Implement automatic retry for flaky tests  \n- 🧾 Standardize file and method naming conventions  \n- 🔍 Add better logging for debugging and traceability  \n- 📝 Connect test structure and decisions directly with the final article  \n\n---\n\n## 🎯 About\n\nThis project was created as part of a self-study path to master QA automation with Playwright.  \nIt simulates a real QA engineer workflow in a production team, with emphasis on code readability, maintainability, and CI readiness.\n\nAll scenarios are built on top of the **Sauce Labs Demo App**, a sandbox platform widely used in testing practices.\n\n---\n\n## 📝 License\n\nMIT — feel free to read and learn, but external PRs are currently not accepted.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frennanreis%2Fweb-automation-suite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frennanreis%2Fweb-automation-suite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frennanreis%2Fweb-automation-suite/lists"}