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:
Natalie Tay
2024-07-20 00:39:22 +08:00
committed by GitHub
parent 6e77107ccc
commit 346c9116b5
4 changed files with 20 additions and 15 deletions

View File

@ -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