Commit ed20b706 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch...

Merge branch '208718-transient-failure-for-spec-features-projects-wiki-user_updates_wiki_page_spec-rb-56-user' into 'master'

Wait for the 'Empty wiki' SVG to load before performing test assertions

Closes #208718

See merge request gitlab-org/gitlab!26309
parents 3e56eb9e 65fdd24d
......@@ -3,6 +3,8 @@
require 'spec_helper'
describe 'User updates wiki page' do
include WikiHelpers
let(:user) { create(:user) }
before do
......@@ -11,8 +13,11 @@ describe 'User updates wiki page' do
end
context 'when wiki is empty' do
before do
before do |example|
visit(project_wikis_path(project))
wait_for_svg_to_be_loaded(example)
click_link "Create your first page"
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