Merge branch '32622-fix-markdown_preview_spec' into 'master'
Ensure wiki is created before we visit the Wiki page Closes #32622 See merge request !12059
This commit is contained in:
commit
34dcfae994
1 changed files with 2 additions and 1 deletions
|
@ -14,11 +14,12 @@ feature 'Projects > Wiki > User previews markdown changes', feature: true, js: t
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue