Verify login and logout functionality using dual commands
Preconditions (2)
Step 1: Enter 'testuser' in the username input field with id 'username'
Step 2: Enter 'Password123!' in the password input field with id 'password'
Step 3: Click the login button with id 'loginBtn'
Step 4: Verify that the URL changes to '/dashboard'
Step 5: Click the logout button with id 'logoutBtn'
Step 6: Verify that the URL changes back to '/login'
✅ Expected Result: User successfully logs in and is redirected to dashboard, then logs out and is redirected back to login page