Skip to content

Instantly share code, notes, and snippets.

@JoaquinAcuna97
Created November 7, 2021 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoaquinAcuna97/cd20dcfc92c645aedd1f3a3977eeba75 to your computer and use it in GitHub Desktop.
Save JoaquinAcuna97/cd20dcfc92c645aedd1f3a3977eeba75 to your computer and use it in GitHub Desktop.
Feature: Counter
Scenario: Initial counter value is 0
Given the app is running
Then i see {'0'} text
Scenario: Plus button increase the counter value
Given the app is running
When i tap {Icons.add} icon
Then i see {'1'} text
Scenario: Remove button decrease the counter value
Given the app is running
When i tap {Icons.remove} icon
Then i see {'-1'} text
Scenario: Remove button decrease the counter value twice
Given the app is running
When i tap {Icons.remove} icon
When i tap {Icons.remove} icon
Then i see {'-2'} text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment