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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
7c14541d
Commit
7c14541d
authored
Dec 12, 2015
by
Grzegorz Bizon
Committed by
Grzegorz Bizon
Dec 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add feature specs for note polling
Ref. #4032, !2084
parent
9451db38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
spec/features/issues/note_polling_spec.rb
spec/features/issues/note_polling_spec.rb
+18
-0
No files found.
spec/features/issues/note_polling_spec.rb
0 → 100644
View file @
7c14541d
require
'spec_helper'
feature
'Issue notes polling'
do
let!
(
:project
)
{
create
(
:project
,
:public
)
}
let!
(
:issue
)
{
create
(
:issue
,
project:
project
)
}
background
do
visit
namespace_project_issue_path
(
project
.
namespace
,
project
,
issue
)
end
scenario
'Another user adds a comment to an issue'
,
js:
true
do
note
=
create
(
:note_on_issue
,
noteable:
issue
,
project_id:
project
.
project_id
,
note:
'Looks good!'
)
sleep
16
# refresh interval in notes.js.coffee, 15 seconds
expect
(
page
).
to
have_selector
(
"#note_
#{
note
.
id
}
"
,
text:
'Looks good!'
)
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