Test Runs/Login changes - Regression

Login changes - Regression

In Progress7 of 10 executed

Execution Progress

70% Complete
Passed: 5Failed: 2Blocked: 0Not Run: 3
TC-0001Login with Customer Valid Credentials
6 steps
Failed

Description

Verify that a registered customer can successfully login with valid email and password and is redirected to the homepage with their account accessible.

Pre-Conditions

1. User has a registered customer account 2. Application is accessible 3. User is on the login page

Test Steps

Step 1
Failed
Action
Navigate to the application URL (https://ecommerce-app.com)
Expected Result
Homepage loads successfully with login/signup options visible in header
Step 2
Failed
Action
Click on the "Sign In" button in the header navigation
Expected Result
Login page is displayed with email and password fields, "Sign In" button, and "Forgot Password" link
Step 3
Failed
Action
Enter valid registered email: customer@test.com
Expected Result
Email is accepted and displayed in the email field
Step 4
Failed
Action
Enter valid password: Test@123
Expected Result
Password is masked with dots/asterisks in the password field
Step 5
Failed
Action
Click the "Sign In" button
Expected Result
Loading indicator appears briefly
Step 6
Failed
Action
Verify successful login
Expected Result
User is redirected to homepage. Header shows user name/icon instead of "Sign In". Welcome message or user dashboard is accessible
TC-0002Login with Customer Invalid Password
6 steps
Passed

Description

Verify that login fails when customer enters incorrect password and appropriate error message is displayed.

Pre-Conditions

1. User has a registered customer account 2. Application is accessible 3. User is on the login page

Test Steps

Step 1
Passed
Action
Navigate to the application URL (https://ecommerce-app.com)
Expected Result
Homepage loads successfully
Step 2
Passed
Action
Click on the "Sign In" button in the header navigation
Expected Result
Login page is displayed with email and password fields
Step 3
Passed
Action
Enter valid registered email: customer@test.com
Expected Result
Email is accepted and displayed in the email field
Step 4
Passed
Action
Enter invalid password: WrongPassword123
Expected Result
Password is masked in the password field
Step 5
Passed
Action
Click the "Sign In" button
Expected Result
Form submission is attempted
Step 6
Passed
Action
Verify error handling
Expected Result
Error message "Invalid email or password" is displayed. User remains on login page. Password field is cleared. No sensitive information is exposed
TC-0003Login with Customer Invalid Email Format
5 steps
Passed

Description

Verify that login form validates email format and prevents submission with invalid email.

Pre-Conditions

1. Application is accessible 2. User is on the login page

Test Steps

Step 1
Passed
Action
Navigate to the login page
Expected Result
Login page is displayed
Step 2
Passed
Action
Enter invalid email format: customertest.com (missing @)
Expected Result
Email is entered in the field
Step 3
Passed
Action
Enter any password: Test@123
Expected Result
Password is masked
Step 4
Passed
Action
Click the "Sign In" button
Expected Result
Form validation is triggered
Step 5
Passed
Action
Verify validation message
Expected Result
Inline validation error appears: "Please enter a valid email address". Form is not submitted
TC-0004Login with Customer Empty Fields Validation
5 steps
Failed

Description

Verify that login form prevents submission when required fields are empty.

Pre-Conditions

1. Application is accessible 2. User is on the login page

Test Steps

Step 1
Failed
Action
Navigate to the login page
Expected Result
Login page is displayed with empty form fields
Step 2
Failed
Action
Leave email field empty
Expected Result
Email field remains empty
Step 3
Failed
Action
Leave password field empty
Expected Result
Password field remains empty
Step 4
Failed
Action
Click the "Sign In" button
Expected Result
Form validation is triggered
Step 5
Failed
Action
Verify validation messages
Expected Result
Validation errors appear for both fields: "Email is required" and "Password is required". Form is not submitted
TC-0005Login with Customer Remember Me Functionality
7 steps
Passed

Description

Verify that "Remember Me" checkbox persists user session across browser restarts.

Pre-Conditions

1. User has a registered customer account 2. Application is accessible 3. Browser cookies are enabled

Test Steps

Step 1
Passed
Action
Navigate to the login page
Expected Result
Login page is displayed with "Remember Me" checkbox
Step 2
Passed
Action
Enter valid email: customer@test.com
Expected Result
Email is entered
Step 3
Passed
Action
Enter valid password: Test@123
Expected Result
Password is entered
Step 4
Passed
Action
Check the "Remember Me" checkbox
Expected Result
Checkbox is selected/checked
Step 5
Passed
Action
Click the "Sign In" button
Expected Result
User is logged in successfully
Step 6
Passed
Action
Close the browser completely
Expected Result
Browser is closed
Step 7
Passed
Action
Reopen browser and navigate to application URL
Expected Result
User is still logged in without needing to re-enter credentials
TC-0006Login with Admin Valid Credentials
5 steps
Passed

Description

Verify that an admin user can successfully login and access admin dashboard.

Pre-Conditions

1. Admin account exists in the system 2. Application is accessible

Test Steps

Step 1
Passed
Action
Navigate to the admin login URL (https://ecommerce-app.com/admin)
Expected Result
Admin login page is displayed
Step 2
Passed
Action
Enter admin email: admin@ecommerce.com
Expected Result
Email is entered in the field
Step 3
Passed
Action
Enter admin password: Admin@123
Expected Result
Password is masked
Step 4
Passed
Action
Click the "Sign In" button
Expected Result
Login is processed
Step 5
Passed
Action
Verify admin dashboard access
Expected Result
Admin is redirected to admin dashboard. Dashboard shows admin menu: Products, Orders, Users, Analytics, Settings
TC-0007Login with Customer Account Lockout After Failed Attempts
7 steps
Passed

Description

Verify that account gets locked after 5 consecutive failed login attempts for security.

Pre-Conditions

1. User has a registered customer account 2. Account is not currently locked 3. Application is accessible

Test Steps

Step 1
Passed
Action
Navigate to the login page
Expected Result
Login page is displayed
Step 2
Passed
Action
Enter valid email: customer@test.com
Expected Result
Email is entered
Step 3
Passed
Action
Enter wrong password: Wrong1 and click Sign In
Expected Result
Error: "Invalid email or password" (Attempt 1)
Step 4
Passed
Action
Enter wrong password: Wrong2 and click Sign In
Expected Result
Error: "Invalid email or password" (Attempt 2)
Step 5
Passed
Action
Enter wrong password: Wrong3 and click Sign In
Expected Result
Error: "Invalid email or password" (Attempt 3)
Step 6
Passed
Action
Enter wrong password: Wrong4 and click Sign In
Expected Result
Warning: "1 attempt remaining before account lockout"
Step 7
Passed
Action
Enter wrong password: Wrong5 and click Sign In
Expected Result
Account locked message: "Account locked due to multiple failed attempts. Please try again in 30 minutes or reset your password"
TC-0008Login with Customer Password Visibility Toggle
4 steps
Not Run

Description

Verify that password visibility can be toggled using the eye icon.

Pre-Conditions

1. Application is accessible 2. User is on the login page

Test Steps

Step 1
Not Run
Action
Navigate to the login page
Expected Result
Login page is displayed
Step 2
Not Run
Action
Enter password: Test@123
Expected Result
Password is masked (shown as dots/asterisks)
Step 3
Not Run
Action
Click the eye icon next to password field
Expected Result
Password is now visible as plain text: "Test@123". Eye icon changes to "eye-off" icon
Step 4
Not Run
Action
Click the eye icon again
Expected Result
Password is masked again. Eye icon reverts to original state
TC-0009Login with Guest Complete Order Placement
12 steps
Not Run

Description

Verify that a guest user can successfully browse products, add to cart, and complete checkout without creating an account.

Pre-Conditions

1. Application is accessible 2. Products are available in inventory 3. Payment gateway is operational

Test Steps

Step 1
Not Run
Action
Navigate to the application homepage
Expected Result
Homepage loads with product categories and featured products visible
Step 2
Not Run
Action
Click on "Electronics" category from navigation menu
Expected Result
Electronics category page displays with available products
Step 3
Not Run
Action
Click on a product: "Wireless Bluetooth Headphones"
Expected Result
Product detail page opens showing name, price ($49.99), description, images, and "Add to Cart" button
Step 4
Not Run
Action
Select quantity: 2
Expected Result
Quantity selector shows "2"
Step 5
Not Run
Action
Click "Add to Cart" button
Expected Result
Success message: "Added to cart". Cart icon in header shows "2" items
Step 6
Not Run
Action
Click on cart icon in header
Expected Result
Cart page/drawer opens showing: Wireless Bluetooth Headphones x2 = $99.98
Step 7
Not Run
Action
Click "Proceed to Checkout" button
Expected Result
Checkout page loads with shipping information form
Step 8
Not Run
Action
Select "Continue as Guest" option
Expected Result
Guest checkout form is displayed
Step 9
Not Run
Action
Fill shipping details: Name: John Doe, Address: 123 Main St, City: New York, ZIP: 10001, Phone: 555-1234
Expected Result
All fields are filled and validated
Step 10
Not Run
Action
Click "Continue to Payment"
Expected Result
Payment page loads with order summary
Step 11
Not Run
Action
Enter card details: 4111111111111111, Exp: 12/25, CVV: 123
Expected Result
Card details are entered and validated
Step 12
Not Run
Action
Click "Place Order" button
Expected Result
Order confirmation page displays with order number, estimated delivery, and email confirmation message
TC-0010Login with Customer Complete Order with Saved Address
11 steps
Not Run

Description

Verify that a logged-in customer can place order using saved address and payment method.

Pre-Conditions

1. Customer account exists with saved address and payment method 2. Customer is logged in 3. Products are available

Test Steps

Step 1
Not Run
Action
Login with Customer credentials (customer@test.com / Test@123)
Expected Result
User is logged in and redirected to homepage
Step 2
Not Run
Action
Search for "Running Shoes" in search bar
Expected Result
Search results page shows matching products
Step 3
Not Run
Action
Click on "Nike Air Max Running Shoes"
Expected Result
Product detail page displays with size and color options
Step 4
Not Run
Action
Select Size: 10, Color: Black
Expected Result
Options are selected and reflected in product display
Step 5
Not Run
Action
Click "Add to Cart"
Expected Result
Product added to cart. Cart shows 1 item
Step 6
Not Run
Action
Click "Proceed to Checkout"
Expected Result
Checkout page loads with saved addresses displayed
Step 7
Not Run
Action
Select saved address: "Home - 123 Main St, New York"
Expected Result
Address is selected and highlighted
Step 8
Not Run
Action
Click "Continue to Payment"
Expected Result
Payment page shows saved payment methods
Step 9
Not Run
Action
Select saved card ending in 4242
Expected Result
Card is selected
Step 10
Not Run
Action
Review order summary: Product, Shipping, Tax, Total
Expected Result
Order summary is accurate with correct calculations
Step 11
Not Run
Action
Click "Place Order"
Expected Result
Order confirmation displayed. Order appears in customer order history