Skip to content

Commit

Permalink
Add waiting test check between event click link
Browse files Browse the repository at this point in the history
  • Loading branch information
maximenoel8 committed Aug 7, 2023
1 parent 0e49a36 commit e6eb744
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion testsuite/features/step_definitions/common_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,16 @@
# same name in the events history - however, that's the best we have so far.
steps %(
When I follow "Events"
And I wait until I see "Pending Events" text
And I follow "Pending"
And I wait at most #{pickup_timeout} seconds until I do not see "#{event}" text, refreshing the page
And I wait until I see "Pending Events" text
And I wait at most 180 seconds until I do not see "#{event}" text, refreshing the page
And I follow "History"
And I wait until I see "System History" text
And I wait until I see "#{event}" text, refreshing the page
And I follow first "#{event}"
And I wait until I see "This action will be executed after" text
And I wait until I see "#{event}" text
And I wait at most #{complete_timeout} seconds until the event is completed, refreshing the page
)
end
Expand Down

0 comments on commit e6eb744

Please sign in to comment.