Skip to content

enhanced empty cart checkout - Samiha - #23

Merged
TAMILKUMAR0027 merged 4 commits into
mainfrom
Samiha
Jun 12, 2026
Merged

enhanced empty cart checkout - Samiha#23
TAMILKUMAR0027 merged 4 commits into
mainfrom
Samiha

Conversation

@samihamuhabathulla-jpg

@samihamuhabathulla-jpg samihamuhabathulla-jpg commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Pull Request Details

PR Information


Team Information


Related Issue

Fixes #4

Closes #4


Summary

Implemented Login and Checkout Automation using Selenium, Pytest, and the Page Object Model (POM) framework.

The Login functionality has been successfully automated and validated for registered users. Checkout automation components have been developed, including Page Objects, Action Classes, and Test Cases for Guest Checkout, Empty Cart Validation, and Register Account Checkout scenarios.

Currently, Login and Empty Cart Checkout scenarios are executing successfully. Guest Checkout and Register Account Checkout flows have been implemented and are under validation and stabilization.

The framework has been enhanced with reusable methods from BaseAction and configuration-driven test data management using config.ini.


Detailed Changes

Added

  • LoginPage class for Login page locators.

  • LoginPageAction class for Login page actions.

  • CheckoutPage class for Checkout page locators.

  • CheckoutAction class for Checkout page actions.

  • Test cases for:

    • Registered User Login
    • Guest Checkout with New Address
    • Empty Cart Checkout Validation
    • Checkout with Register Account
  • Configuration support using ConfigReader.

  • Reusable utility methods through BaseAction.

Modified

  • Enhanced framework structure to support Checkout automation.
  • Updated test flow to follow Page Object Model design pattern.
  • Improved code reusability using Action classes.

Removed

  • No files removed.

Refactored

  • Common Selenium methods centralized into BaseAction.
  • Login and Checkout functionality separated into dedicated Page and Action layers.
  • Improved maintainability and readability of automation framework.

Type of Change

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

Testing Performed

Pytest Execution

  • Login automation executed successfully.
  • Empty Cart Checkout scenario passed successfully.
  • Checkout framework execution verified.
  • Guest Checkout scenario passing.
  • Register Account Checkout scenario passing.
  • Negative test scenarios verified.

Browsers Tested

  • Chrome
  • Firefox
  • Headless Chrome
  • Headless Firefox

Evidence

  • Login automation executed successfully through Pytest.
  • Registered user login verified using configuration-based credentials.
  • Empty Cart Checkout scenario passed successfully.
  • Checkout framework structure validated through execution.
  • Guest Checkout and Register Account Checkout scenarios are implemented and currently under validation.
  • Framework execution completed without structural issues.

Configuration Changes

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

Impact Analysis

Affected Modules:

  • Login Module
  • Checkout Module
  • BaseAction Module

Potential Risks:

  • Low

Rollback Plan:

  • Revert PR-4 commits and restore the previous stable framework version from the main branch if any issues are identified.

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
  • Local execution verified
  • Existing tests are passing

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:

  • Login automation is fully functional and successfully validated.
  • Empty Cart Checkout test case is passing successfully.
  • Guest Checkout and Register Account Checkout scenarios have been implemented but currently require additional stabilization and validation.
  • Future enhancement will include Excel-driven test data for Registration and Checkout workflows.

Final Approval

@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

@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.

Locators Changed For Dynamic Access and Added method in ConfigReader to extraxt data from config.in [Reviwed]

@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

@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 add the proper Name for the PR title

@samihamuhabathulla-jpg samihamuhabathulla-jpg changed the title Samiha enhanced login checkout - Samiha Jun 12, 2026
@samihamuhabathulla-jpg samihamuhabathulla-jpg changed the title enhanced login checkout - Samiha enhanced empty cart checkout - Samiha Jun 12, 2026
@TAMILKUMAR0027
TAMILKUMAR0027 merged commit 9442af2 into main Jun 12, 2026
1 check failed
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.

5 participants