Unverified Commit 519ffaeb authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Ensure wiki is created before we visit the Wiki page

🤦

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 0d1dbab01388
......@@ -14,11 +14,12 @@
background do
project.team << [user, :master]
WikiPages::CreateService.new(project, user, title: 'home', content: 'Home page').execute
login_as(user)
visit namespace_project_path(project.namespace, project)
find('.shortcuts-wiki').trigger('click')
WikiPages::CreateService.new(project, user, title: 'home', content: 'Home page').execute
end
context "while creating a new wiki page" 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