Verify login functionality using environment variables for credentials
Preconditions (2)
Step 1: Open the login page URL
Step 2: Enter the email from environment variable 'CYPRESS_USER_EMAIL' into the email input field with id 'email'
Step 3: Enter the password from environment variable 'CYPRESS_USER_PASSWORD' into the password input field with id 'password'
Step 4: Click the login button with id 'loginBtn'
Step 5: Wait for the dashboard page to load
Step 6: Verify the URL contains '/dashboard'
Step 7: Verify the page contains a welcome message with id 'welcomeMessage'
✅ Expected Result: User is successfully logged in and redirected to the dashboard page with a visible welcome message