Verify login functionality using BDD style
Preconditions (1)
Step 1: Given the user is on the login page
Step 2: When the user enters username 'testuser' and password 'Test@1234'
Step 3: And clicks the login button
Step 4: Then the user should be redirected to the dashboard page
Step 5: And the welcome message 'Welcome testuser!' should be displayed
✅ Expected Result: User successfully logs in and sees the dashboard with the welcome message