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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
59ddf726
Commit
59ddf726
authored
Jul 22, 2016
by
Luke "Jared" Bennett
Committed by
Luke Bennett
Jul 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed failing tests with WaitForAjax
parent
dd79472b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
spec/features/merge_requests/diffs_spec.rb
spec/features/merge_requests/diffs_spec.rb
+3
-0
No files found.
spec/features/merge_requests/diffs_spec.rb
View file @
59ddf726
require
'spec_helper'
require
'spec_helper'
feature
'Diffs URL'
,
js:
true
,
feature:
true
do
feature
'Diffs URL'
,
js:
true
,
feature:
true
do
include
WaitForAjax
before
do
before
do
login_as
:admin
login_as
:admin
@merge_request
=
create
(
:merge_request
)
@merge_request
=
create
(
:merge_request
)
...
@@ -153,6 +155,7 @@ feature 'Diffs URL', js: true, feature: true do
...
@@ -153,6 +155,7 @@ feature 'Diffs URL', js: true, feature: true do
expect
(
notes_holder_input
[
:class
].
include?
notes_holder_input_class
).
to
be
true
expect
(
notes_holder_input
[
:class
].
include?
notes_holder_input_class
).
to
be
true
notes_holder_input
.
fill_in
'note[note]'
,
with:
test_note_comment
notes_holder_input
.
fill_in
'note[note]'
,
with:
test_note_comment
click_button
'Comment'
click_button
'Comment'
wait_for_ajax
expect
(
line_holder
).
to
have_xpath
notes_holder_input_xpath
expect
(
line_holder
).
to
have_xpath
notes_holder_input_xpath
notes_holder_saved
=
line_holder
.
find
(
:xpath
,
notes_holder_input_xpath
)
notes_holder_saved
=
line_holder
.
find
(
:xpath
,
notes_holder_input_xpath
)
expect
(
notes_holder_saved
[
:class
].
include?
notes_holder_input_class
).
to
be
false
expect
(
notes_holder_saved
[
:class
].
include?
notes_holder_input_class
).
to
be
false
...
...
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