Automate login functionality using Page Object pattern
Preconditions (2)
Step 1: Open the login page URL
Step 2: Enter 'user@example.com' in the email input field
Step 3: Enter 'Password123' in the password input field
Step 4: Click the login button
Step 5: Verify that the user is redirected to the dashboard page with URL containing '/dashboard'
✅ Expected Result: User successfully logs in and dashboard page is displayed