Gherkin Format Test Cases For BDD(Automation Testing)
Given I launch the xyz app
And I sign in with "premium" account
When I navigate to <dashboard> dashboard
And I touch "SCORES"
Then I see "Calendar Bar"
And I see "Calendar Default" date #query api to determine this text
When I touch "program selector"
Then I should see "program list"
And I background the app
And I foreground the app
Then I should see "event list"
When I touch "inactive program" #will have to query api to find current programe,
And background the app
And foreground the app
Then I should see "results" tab
And I should see "inactive event" #will have to query api to find current programe,
When I touch "results"
And I touch "show results"
Then I should see "inactive programe" #will have to query api to find current programe,
Given I launch the xyz app
And I sign in with "premium" account
When I navigate to <dashboard> dashboard
And I touch "SCORES"
Then I see "Calendar Bar"
And I see "Calendar Default" date #query api to determine this text
When I touch "program selector"
Then I should see "program list"
And I background the app
And I foreground the app
Then I should see "event list"
When I touch "inactive program" #will have to query api to find current programe,
And background the app
And foreground the app
Then I should see "results" tab
And I should see "inactive event" #will have to query api to find current programe,
When I touch "results"
And I touch "show results"
Then I should see "inactive programe" #will have to query api to find current programe,
Comments
Post a Comment