diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-06 03:08:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-06 03:08:02 +0000 |
commit | ed73d4f207ef6cb8646719baa1188d096c9f3139 (patch) | |
tree | dea7ab9906154c73204a0361163e30500f929d44 /qa/qa/page/settings | |
parent | 2349eabc1a473bfb70555f0ce6d3d808cecb181d (diff) | |
download | gitlab-ce-ed73d4f207ef6cb8646719baa1188d096c9f3139.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/qa/page/settings')
-rw-r--r-- | qa/qa/page/settings/common.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/qa/page/settings/common.rb b/qa/qa/page/settings/common.rb index 2d7b41c76e1..bd1070158f0 100644 --- a/qa/qa/page/settings/common.rb +++ b/qa/qa/page/settings/common.rb @@ -6,7 +6,7 @@ module QA module Common # Click the Expand button present in the specified section # - # @param [Symbol] and `element` name defined in a `view` block + # @param [Symbol] element_name `element` name defined in a `view` block def expand_section(element_name) within_element(element_name) do # Because it is possible to click the button before the JS toggle code is bound @@ -14,6 +14,7 @@ module QA click_button 'Expand' unless has_css?('button', text: 'Collapse', wait: 1) has_content?('Collapse') + finished_loading? end yield if block_given? |