Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Good and Bad Gherkin
Scenario: Bad Gherkin
Given I open the app
When I enter 'Bob' into the username field
And I enter 'p455w0rd' into the password field
And I click the 'Login' button
Then I am on the home screen
And I should see my latest score
And I should see 'Jim' is online
Scenario: Good Gherkin
Given I am on the Login screen
When I login
Then I should be on the Home screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.