mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
DEV: Allow system tests to assert on values at the correct time (#27988)
This adds some more assertions in system tests at certain instances during the test to minimise flakiness.
This commit is contained in:
@ -27,7 +27,7 @@ module PageObjects
|
||||
|
||||
def expanded_component
|
||||
expand_if_needed
|
||||
find(@context + ".is-expanded")
|
||||
find(@context + ".is-expanded", wait: 5)
|
||||
end
|
||||
|
||||
def collapsed_component
|
||||
|
Reference in New Issue
Block a user