Created
November 7, 2021 21:22
-
-
Save JoaquinAcuna97/cd20dcfc92c645aedd1f3a3977eeba75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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