Skip to content
Snippets Groups Projects
Commit 652e9a77 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment