Skip to content

Commit

Permalink
test: check that the widget is open before collapsing it the first time
Browse files Browse the repository at this point in the history
  • Loading branch information
superskip committed Oct 17, 2023
1 parent 5507bd0 commit ec1bc25
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ Feature: The user interacts with the widgets on the enrollment add event page

Scenario: User can close the Enrollment Widget
Given you land on the enrollment add event page by having typed #/enrollmentEventNew?programId=IpHINAT79UW&orgUnitId=DiszpKrYNg8&teiId=EaOyKGOIGRp&enrollmentId=wBU0RAsYjKE&stageId=A03MvHHogjR
And the enrollment widget should be opened
When you click the enrollment widget toggle open close button
Then the enrollment widget should be closed

Scenario: User can close and reopen the Enrollment Widget
Given you land on the enrollment add event page by having typed #/enrollmentEventNew?programId=IpHINAT79UW&orgUnitId=DiszpKrYNg8&teiId=EaOyKGOIGRp&enrollmentId=wBU0RAsYjKE&stageId=A03MvHHogjR
And the enrollment widget should be opened
When you click the enrollment widget toggle open close button
Then the enrollment widget should be closed
When you click the enrollment widget toggle open close button
And you click the enrollment widget toggle open close button
Then the enrollment widget should be opened

Scenario: User can see the enrollment details
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,16 @@ Feature: The user interacts with the widgets on the enrollment dashboard

Scenario: User can close the Enrollment Widget
Given you land on the enrollment dashboard page by having typed #/enrollment?enrollmentId=wBU0RAsYjKE
And the enrollment widget should be opened
When you click the enrollment widget toggle open close button
Then the enrollment widget should be closed

Scenario: User can close and reopen the Enrollment Widget
Given you land on the enrollment dashboard page by having typed #/enrollment?enrollmentId=wBU0RAsYjKE
And the enrollment widget should be opened
When you click the enrollment widget toggle open close button
Then the enrollment widget should be closed
When you click the enrollment widget toggle open close button
And you click the enrollment widget toggle open close button
Then the enrollment widget should be opened

Scenario: User can see the enrollment details
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ Feature: The user interacts with the widgets on the enrollment edit event

Scenario: User can close the Enrollment Widget
Given you land on the enrollment edit event page by having typed /#/enrollmentEventEdit?eventId=XGLkLlOXgmE&orgUnitId=DiszpKrYNg8
And the enrollment widget should be opened
When you click the enrollment widget toggle open close button
Then the enrollment widget should be closed

Scenario: User can close and reopen the Enrollment Widget
Given you land on the enrollment edit event page by having typed /#/enrollmentEventEdit?eventId=XGLkLlOXgmE&orgUnitId=DiszpKrYNg8
And the enrollment widget should be opened
When you click the enrollment widget toggle open close button
Then the enrollment widget should be closed
When you click the enrollment widget toggle open close button
And you click the enrollment widget toggle open close button
Then the enrollment widget should be opened

Scenario: User can see the enrollment details
Expand Down

0 comments on commit ec1bc25

Please sign in to comment.