Verify login functionality using data-cy attributes
Preconditions (4)
Step 1: Enter 'user@example.com' in the email input field identified by data-cy='email-input'
Step 2: Enter 'Password123!' in the password input field identified by data-cy='password-input'
Step 3: Click the login button identified by data-cy='login-button'
Step 4: Wait for the page to navigate to the dashboard
✅ Expected Result: User is redirected to the dashboard page with URL containing '/dashboard'