Commit 658004b9 authored by Anastasia McDonald's avatar Anastasia McDonald

Fix failing smoke test

Disable initialize with readme
as it is now enabled by default
parent d7134264
......@@ -83,8 +83,8 @@ module QA
click_button 'Repo by URL'
end
def enable_initialize_with_readme
check_element(:initialize_with_readme_checkbox)
def disable_initialize_with_readme
uncheck_element(:initialize_with_readme_checkbox)
end
end
end
......
......@@ -88,7 +88,7 @@ module QA
new_page.choose_name(@name)
new_page.add_description(@description)
new_page.set_visibility(@visibility)
new_page.enable_initialize_with_readme if @initialize_with_readme
new_page.disable_initialize_with_readme unless @initialize_with_readme
new_page.create_new_project
end
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