Commit 187a4f6c authored by Mike Greiling's avatar Mike Greiling

target label instead of obscured input element

parent 351645fb
......@@ -14,9 +14,7 @@ feature 'Project' do
it "allows creation from templates", :js do
find('#create-from-template-tab').click
page.execute_script(
"document.querySelector('##{template.name}').click()"
)
find("label[for=#{template.name}]").click
fill_in("project_path", with: template.name)
page.within '#content-body' do
......
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