Files
TS-CUCUMBER-WDIO-QK/test/features/login.feature
isopropilick 896c3a121a
Some checks failed
CI / validate (push) Has been cancelled
ok
2026-08-27 15:00:50 -06:00

23 lines
814 B
Gherkin

Feature: The Internet Guinea Pig Website
Background:
Given the user is on the login page
@smoke
Scenario Outline: Successful login - <ID>
When the user logs in with <username> and <password>
Then the user should see a flash message containing "<message>"
And the login form should no longer be visible
Examples:
| ID | username | password | message |
| 01 | tomsmith | SuperSecretPassword! | You logged into a secure area! |
Scenario Outline: Failed login - <ID>
When the user logs in with <username> and <password>
Then the user should see a flash message containing "<message>"
Examples:
| ID | username | password | message |
| 02 | foobar | barfoo | Your username is invalid! |