{"id":27351886,"url":"https://github.com/inammar/magento-shop-testing","last_synced_at":"2026-05-04T09:34:29.555Z","repository":{"id":284185781,"uuid":"951864110","full_name":"inammar/Magento-shop-testing","owner":"inammar","description":"Testing of Magento shop","archived":false,"fork":false,"pushed_at":"2025-04-11T14:14:10.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-10T12:35:08.439Z","etag":null,"topics":["intellij","java","maven","selenium-java","selenium-webdriver","testng"],"latest_commit_sha":null,"homepage":"https://magento.softwaretestingboard.com/","language":"Java","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/inammar.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}},"created_at":"2025-03-20T11:11:31.000Z","updated_at":"2025-04-11T14:14:13.000Z","dependencies_parsed_at":"2025-04-11T15:27:39.726Z","dependency_job_id":"bbdfa281-4534-41ed-9a52-f812adc7ba85","html_url":"https://github.com/inammar/Magento-shop-testing","commit_stats":null,"previous_names":["inammar/magento-shop-testing-","inammar/magento-shop-testing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/inammar/Magento-shop-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inammar%2FMagento-shop-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inammar%2FMagento-shop-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inammar%2FMagento-shop-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inammar%2FMagento-shop-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inammar","download_url":"https://codeload.github.com/inammar/Magento-shop-testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inammar%2FMagento-shop-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000762,"owners_count":26082921,"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-09T02:00:07.460Z","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":["intellij","java","maven","selenium-java","selenium-webdriver","testng"],"created_at":"2025-04-12T20:54:03.337Z","updated_at":"2026-05-04T09:34:29.547Z","avatar_url":"https://github.com/inammar.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Java Maven Build](https://github.com/inammar/Magento-shop-testing/actions/workflows/java.yml/badge.svg)](https://github.com/inammar/Magento-shop-testing/actions/workflows/java.yml)\n\nPracticing    knowledge of Selenium with TestNG using clothing web shop. \nThis is a demo shop for testing automation scripts.\n\n\n\n\n   [![Watch the video](https://img.youtube.com/vi/1HJ_Dg9aY8U/hqdefault.jpg)](https://www.youtube.com/watch?v=1HJ_Dg9aY8U)\n\n\n### Test Plan for Clothing Shop Website\n\n### 1. Test Plan Overview\n\n• Project Name: Magento Shop Website\n\n• Test Objective: To verify that the clothing shop website is functioning correctly in all aspects such as navigation, user interaction, shopping cart, checkout, and payment processing.\n\n• Testing Tool: Selenium WebDriver, Java, TestNG.\n\n• Test Type: Functional, UI, Usability Testing.\n\n• Test Environment: Latest version of Chrome.\n\n### 2. Scope of Testing\n   \n• In-Scope:\n\nFunctional testing of the website's main features: navigation, login, product browsing, search functionality, shopping cart, checkout process.\n\nUsability testing for a smooth shopping experience.\n\n• Out-of-Scope:\n\nThird-party integrations outside the website (e.g., payment gateway failures).\n\nBackend database validation.\n\n### 3. Test Strategy\n\n• Test Approach: Manual test automation with Selenium WebDriver, Java and TestNG applying the Page Object Model for maintainable test scripts.\n\n• Testing Levels:\n\nUnit Testing: Testing individual components like search functionality.\n\nIntegration Testing: Ensuring multiple components work together (e.g., adding items to the cart and proceeding to checkout).\n\nEnd-to-End Testing: Verifying the full user experience from browsing to completing a purchase.\n\n### 4. Test Cases\n   \nHere is a list of test cases for the website:\n\n##### Test Case 1: Verify User Login with Empty User Email Field (or Empty Password Field)\n\nObjective: Verify that users can not log in when user email field or password field is empty.\n\n• Preconditions: User is on a home page.\n\n• Test Steps:\n\n 1. Enter valid email in the user email field (or leave empty).\n\n 2. Enter valid password in the password field (or leave empty).\n\n 3. Click on the \"Sign In\" button.\n\n 4. Verify that empty field shows error message and log in is not successful.\n    \n• Expected Result: The user should not be logged in.\n\n##### Test Case 2: Verify User Login with Invalid Credentials\n\nObjective: Verify that users can not log in with invalid credentials.\n\n• Preconditions: User is on a login page.\n\n• Test Steps:\n\n 1. Enter invalid email in the user email field.\n\n 2. Enter incorrect password in the password field.\n\n 3. Click on the \"Sign In\" button.\n\n 4. Verify that the user is informed with the error message, that log in was not successful.\n    \n• Expected Result: The user should not be logged in.\n\n##### Test Case 3: Verify User Login with Valid Credentials\n\nObjective: Verify that users can successfully log in with valid credentials.\n\n• Preconditions: User is on a login page.\n\n• Test Steps:\n\n 1. Enter a valid email in the user email field.\n\n 2. Enter the correct password in the password field.\n\n 3. Click on the \"Sign In\" button.\n\n 4. Verify that the user is redirected to the homepage or dashboard.\n    \n• Expected Result: The user should be successfully logged in and redirected to the homepage or dashboard.\n\n##### Test Case 4: Verify Product Details Page\n\n• Objective: Verify that the product detail page shows correct information.\n\n• Preconditions: User is on a product home page.\n\n• Test Steps:\n\n   1.\tClick on a product.\n\n   2.\tVerify that the product detail page opens with the correct information (product name, size options, price and color).\n      \n• Expected Result: All information about the product should be displayed correctly.\n\n##### Test Case 5: Verify Product Search\n\n• Objective: Verify that the search functionality works correctly.\n\n• Preconditions: User is on the homepage.\n\n• Test Steps:\n\n   1.\tEnter a product name (\"watch\", \"top\", \"jacket\") into the search bar.\n\n   2.\tClick the \"Search\" button.\n\n   3.\tVerify that the search results display relevant products.\n      \n• Expected Result: Relevant products matching the search term should be displayed.\n\n##### Test Case 6: Verify Navigation Menu (will be tested and added later)\n\n• Objective: Verify that the main navigation menu is displayed and the links navigate to the correct pages.\n\n• Preconditions: User is on the homepage.\n\n• Test Steps:\n\n   1.\tOpen the homepage.\n\n   2.\tClick on each menu item (\"What's new\", \"Sign In\", \"Create an Account\", \"Search\").\n\n   3.\tVerify that each link redirects to the correct page.\n      \n• Expected Result: All links should redirect to the corresponding pages without errors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finammar%2Fmagento-shop-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finammar%2Fmagento-shop-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finammar%2Fmagento-shop-testing/lists"}