Commit 652e9a77 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'qa-staging-59-fix-project-template-spec-ce' into 'master'

CE port of "Fix project template spec"

See merge request gitlab-org/gitlab-ce!30152
parents 3fe7c990 6a3a812c
......@@ -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(reload: false) do
click_button 'Expand' unless first('button', text: 'Collapse')
click_button 'Expand' unless has_css?('button', text: 'Collapse')
has_content?('Collapse')
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment