Verify login functionality using user data from fixture
Preconditions (2)
Step 1: Open the login page at '/login'
Step 2: Load user credentials from 'user.json' fixture
Step 3: Enter the 'username' from fixture into the username input field with id 'username'
Step 4: Enter the 'password' from fixture into the password input field with id 'password'
Step 5: Click the login button with id 'loginBtn'
Step 6: Verify that the URL changes to '/dashboard' after login
✅ Expected Result: User is successfully logged in and redirected to the dashboard page