Skip to content

enhaced sbc feature-Samiha#48

Open
samihamuhabathulla-jpg wants to merge 7 commits into
mainfrom
Samiha
Open

enhaced sbc feature-Samiha#48
samihamuhabathulla-jpg wants to merge 7 commits into
mainfrom
Samiha

Conversation

@samihamuhabathulla-jpg

Copy link
Copy Markdown
Collaborator

Pull Request Details

PR Information


Team Information


Related Issue

Fixes #9

Closes #9


Summary

Implemented Shop By Category Feature Automation using Selenium, PyTest, and the Page Object Model (POM) framework.

This feature validates category navigation from the home page, verifies category-specific product listings, and ensures users can successfully browse products through different shopping categories.


Detailed Changes

Added

  • ShopByCategoryPage class
  • ShopByCategoryAction class
  • Shop By Category test suite (test_shop_by_category.py)
  • Category navigation automation
  • Category page validation methods
  • Product listing verification

Modified

  • Framework structure updated to support Shop By Category module
  • Test execution suite enhanced with category validation scenarios

Removed

  • None

Refactored

  • Reusable methods created for:

    • Category selection
    • Product page navigation
    • Category validation
    • Product visibility verification

Type of Change

  • Bug Fix
  • New Feature
  • Enhancement
  • Refactoring
  • Performance Improvement
  • Test Automation
  • CI/CD Changes
  • Documentation Update
  • Dependency Upgrade

Testing Performed

Pytest Execution

  • All tests passed
  • Smoke suite passed
  • Sanity suite passed
  • Regression suite passed
  • E2E suite passed
  • Negative test scenarios verified

Browsers Tested

  • Chrome
  • Firefox
  • Headless Chrome
  • Headless Firefox

Evidence

Validated the following scenarios:

  1. Navigate to Home Page
  2. Verify Shop By Category section is displayed
  3. Click category tiles from Home Page
  4. Verify category page loads successfully
  5. Validate product listings for selected category
  6. Verify category title visibility
  7. Verify navigation functionality
  8. Validate user can browse products under selected category

PyTest execution completed successfully.


Configuration Changes

  • config.ini modified
  • pytest.ini modified
  • requirements.txt updated
  • Environment variables added
  • No configuration changes

Impact Analysis

Affected Modules

  • Pages
  • Actions
  • Tests

Potential Risks

  • Low

Rollback Plan


Checklist

Code Quality

  • Code follows project standards
  • No hardcoded values
  • Logging added where required
  • Exception handling implemented
  • Unused imports removed
  • PEP8 guidelines followed

Testing

  • Test cases added/updated
  • Existing tests are passing
  • Local execution verified

Documentation

  • README updated
  • Comments added where necessary
  • Documentation updated

CI/CD

  • GitHub Actions passed
  • Build succeeded
  • No merge conflicts

Reviewer Notes

Special instructions for reviewers:

  • Verify Shop By Category navigation functionality.
  • Verify category page validation.
  • Verify category-specific product listings.
  • Execute Shop By Category test suite independently before approval.

Final Approval

@TAMILKUMAR0027 TAMILKUMAR0027 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@raviravi31799-crypto raviravi31799-crypto left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

@14-Prasanna 14-Prasanna left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay

@Rishwanth-Adhishwar Rishwanth-Adhishwar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Viewed Your pages, actions and Test files of ShopByCategory,And it is ready to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Error 🕷️] : Conftest.py file as been changed and also config.ini in Tamil Kumar Branch

5 participants