Verify login form elements using best practice selectors
Preconditions (1)
Step 1: Locate the email input field using a data-cy attribute and type 'user@example.com'
Step 2: Locate the password input field using a data-cy attribute and type 'Password123!'
Step 3: Locate the login button using a data-cy attribute and click it
Step 4: Verify that the URL changes to '/dashboard' after login
✅ Expected Result: The login form fields are located using best practice selectors, login is successful, and user is redirected to the dashboard page