diff options
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/factory/resource/branch.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qa/qa/factory/resource/branch.rb b/qa/qa/factory/resource/branch.rb index 85ea847b785..4110cb510aa 100644 --- a/qa/qa/factory/resource/branch.rb +++ b/qa/qa/factory/resource/branch.rb @@ -76,6 +76,11 @@ module QA end page.protect_branch + + # Wait for page load, which resets the expanded sections + page.wait(reload: false) do + !page.has_content?('Collapse') + end end end end |