{"id":31663965,"url":"https://github.com/shantacse/automationassignment","last_synced_at":"2026-04-18T11:31:58.843Z","repository":{"id":316862833,"uuid":"1064762569","full_name":"shantacse/AutomationAssignment","owner":"shantacse","description":"This repository contains an automation assignment for testing the SauceDemo web application using Playwright and JavaScript, with Allure reports for test reporting and analysis.","archived":false,"fork":false,"pushed_at":"2025-09-27T06:13:14.000Z","size":3201,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-27T08:37:05.447Z","etag":null,"topics":["allure-report","automation","javascript","playwright","webtesting"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shantacse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-26T14:11:19.000Z","updated_at":"2025-09-27T06:13:17.000Z","dependencies_parsed_at":"2025-09-27T08:37:15.941Z","dependency_job_id":"1403077d-68e0-4e20-b6c7-d9d0119af054","html_url":"https://github.com/shantacse/AutomationAssignment","commit_stats":null,"previous_names":["shantacse/automationassignment"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/shantacse/AutomationAssignment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shantacse%2FAutomationAssignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shantacse%2FAutomationAssignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shantacse%2FAutomationAssignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shantacse%2FAutomationAssignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shantacse","download_url":"https://codeload.github.com/shantacse/AutomationAssignment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shantacse%2FAutomationAssignment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278846318,"owners_count":26056090,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["allure-report","automation","javascript","playwright","webtesting"],"created_at":"2025-10-07T20:52:39.392Z","updated_at":"2025-10-07T20:52:40.448Z","avatar_url":"https://github.com/shantacse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automation Assignment – SauceDemo Web App Tests\n\nThis repository contains an automation assignment for testing the **SauceDemo web application** using **Playwright** and **JavaScript**, with **Allure reports** for detailed test reporting and analysis.\n\n\n## 🛠️ Technologies Used\n\n- **IDE** → Visual Studio Code  \n- **Playwright** → End-to-end testing framework for browser automation  \n- **JavaScript (Node.js)** → Programming language for tests  \n- **Allure Reporter** → Generates interactive HTML reports with steps, logs, and screenshots  \n- **npm** → Dependency management and script execution  \n\n\n## ✅ Test Scenarios\n\n- **Q1 – Locked Out User** → Verify login fails and error message appears  \n- **Q2 – Standard User Checkout** → Login, add multiple products, validate checkout and success message  \n- **Q3 – Performance Glitch User** → Sort products, add to cart, and complete checkout  \n\n\n## ⚙️ Installation \u0026 Setup\n\n```bash\n# Initialize project\nnpm init -y  \n\n# Install Playwright\nnpm install -D @playwright/test  \nnpx playwright install  \n\n# Install Allure reporter\nnpm install -D allure-playwright  \n\n# Install Allure command-line globally\nnpm install -g allure-commandline\n```\n\n## 🌐 Test Environment\nAll test cases are executed on the SauceDemo web application:\n🔗 [https://www.saucedemo.com/](https://www.saucedemo.com/)\n\n## ▶️ Run Test Cases\n```bash\n# Run all tests\nnpm run test\n\n# Run tests sequentially\nnpm run test:sequential\n\n# Run individual tests\nnpm run test:q1\nnpm run test:q2\nnpm run test:q3\n\n# Run in Debug mode\nnpm run test:debug\n\n```\n\n## 📊 Allure Reporting\n```bash\n# Generate report\nnpm run report:generate\n\n# Open report\nnpm run report:open\n\n# Serve report (if already generated)\nnpm run report:serve\n\n# Generate \u0026 open in one step\nnpm run report\n```\n\n## 📂 Project Structure\n\n```text\n├── tests/                   # Test cases file for the assignment\n│   ├── q1.spec.js           # Locked Out User login test\n│   ├── q2.spec.js           # Standard User checkout test\n│   ├── q3.spec.js           # Performance Glitch User checkout test\n│\n├── utils/                   # Reusable helper functions\n│   └── authHelper.js        # Functions for login, logout, resetAppState\n│\n├── playwright.config.js     # Playwright configuration (browser, reporter, etc.)\n├── package.json             # Project dependencies and test/report scripts\n└── README.md                # Documentation and setup instructions\n```\n\n- **tests/** → Test cases for each scenario\n- **utils/authHelper.js** → Helper functions: login, logout, resetAppState\n- **playwright.config.js** → Browser, reporter, and execution configuration\n- **package.json** → Dependencies and scripts\n\n## 🔗 Official Documentation\n- **Playwright** → https://playwright.dev/docs/intro\n- **Allure** → https://allurereport.org/docs/\n- **Node.js** → https://nodejs.org/en/docs","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshantacse%2Fautomationassignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshantacse%2Fautomationassignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshantacse%2Fautomationassignment/lists"}