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
9e30b75e
Commit
9e30b75e
authored
Oct 16, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix merge requests feature tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
b1b197ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
features/steps/shared/note.rb
features/steps/shared/note.rb
+5
-1
No files found.
features/steps/shared/note.rb
View file @
9e30b75e
require
Rails
.
root
.
join
(
'features/support/wait_for_ajax'
)
module
SharedNote
module
SharedNote
include
Spinach
::
DSL
include
Spinach
::
DSL
include
WaitForAjax
step
'I delete a comment'
do
step
'I delete a comment'
do
page
.
within
(
'.main-notes-list'
)
do
page
.
within
(
'.main-notes-list'
)
do
...
@@ -116,8 +119,9 @@ module SharedNote
...
@@ -116,8 +119,9 @@ module SharedNote
page
.
within
(
".js-main-target-form"
)
do
page
.
within
(
".js-main-target-form"
)
do
fill_in
"note[note]"
,
with:
"# Comment with a header"
fill_in
"note[note]"
,
with:
"# Comment with a header"
click_button
"Comment"
click_button
"Comment"
sleep
0.05
end
end
wait_for_ajax
end
end
step
'The comment with the header should not have an ID'
do
step
'The comment with the header should not have an ID'
do
...
...
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