Description
Add a test case to verify system behavior when attempting checkout without a username in the session. This is an edge case that should be handled gracefully by the system.
Test Scenario
- Access the checkout flow directly without logging in
- Attempt to complete checkout without user session
- Verify appropriate error handling and user redirection
Acceptance Criteria
Additional Context
- This test case will help improve system security and user experience
- Should be added to the existing suite of checkout tests
- Will help prevent unauthorized access to checkout functionality
Implementation Notes
- Use TestNG data provider pattern consistent with existing tests
- Implement in
CheckoutTest.java using Page Object Model
- Add appropriate test data in TestData.xlsx
- Follow existing error handling and logging patterns
Priority
Medium
Description
Add a test case to verify system behavior when attempting checkout without a username in the session. This is an edge case that should be handled gracefully by the system.
Test Scenario
Acceptance Criteria
Additional Context
Implementation Notes
CheckoutTest.javausing Page Object ModelPriority
Medium