mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-21 23:43:41 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -11,7 +11,7 @@ module QA
|
||||
within_element(element_name) do
|
||||
# Because it is possible to click the button before the JS toggle code is bound
|
||||
wait_until(reload: false, message: "Waiting until content is expanded") do
|
||||
click_button 'Expand' unless has_css?('button', text: 'Collapse', wait: 1)
|
||||
click_button class: 'settings-toggle' unless has_css?('button', text: 'Collapse', wait: 1)
|
||||
|
||||
has_content?('Collapse')
|
||||
end
|
||||
|
Reference in New Issue
Block a user