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
8fe821cf
Commit
8fe821cf
authored
Dec 14, 2015
by
Grzegorz Bizon
Committed by
Grzegorz Bizon
Dec 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trigger notes refresh in specs instead of waiting for ajax
parent
6fb120d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec/features/issues/note_polling_spec.rb
spec/features/issues/note_polling_spec.rb
+1
-1
No files found.
spec/features/issues/note_polling_spec.rb
View file @
8fe821cf
...
...
@@ -10,7 +10,7 @@ feature 'Issue notes polling' do
scenario
'Another user adds a comment to an issue'
,
js:
true
do
note
=
create
(
:note_on_issue
,
noteable:
issue
,
note:
'Looks good!'
)
sleep
15
# refresh interval in notes.js.coffee is 15 seconds
page
.
execute_script
(
'notes.refresh();'
)
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