Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
65fdd24d
Commit
65fdd24d
authored
Mar 02, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wait for the 'Empty wiki' SVG to load before performing test assertions
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
236fb31b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
spec/features/projects/wiki/user_updates_wiki_page_spec.rb
spec/features/projects/wiki/user_updates_wiki_page_spec.rb
+6
-1
No files found.
spec/features/projects/wiki/user_updates_wiki_page_spec.rb
View file @
65fdd24d
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
require
'spec_helper'
require
'spec_helper'
describe
'User updates wiki page'
do
describe
'User updates wiki page'
do
include
WikiHelpers
let
(
:user
)
{
create
(
:user
)
}
let
(
:user
)
{
create
(
:user
)
}
before
do
before
do
...
@@ -11,8 +13,11 @@ describe 'User updates wiki page' do
...
@@ -11,8 +13,11 @@ describe 'User updates wiki page' do
end
end
context
'when wiki is empty'
do
context
'when wiki is empty'
do
before
do
before
do
|
example
|
visit
(
project_wikis_path
(
project
))
visit
(
project_wikis_path
(
project
))
wait_for_svg_to_be_loaded
(
example
)
click_link
"Create your first page"
click_link
"Create your first page"
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment