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
83e2bfba
Commit
83e2bfba
authored
Feb 09, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix expand_collapse_diffs specs
parent
6cb7dc7a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
spec/features/expand_collapse_diffs_spec.rb
spec/features/expand_collapse_diffs_spec.rb
+6
-6
No files found.
spec/features/expand_collapse_diffs_spec.rb
View file @
83e2bfba
...
...
@@ -117,7 +117,7 @@ feature 'Expand and collapse diffs', js: true, feature: true do
# Wait for diffs
find
(
'.js-file-title'
,
match: :first
)
# Click `large_diff.md` title
all
(
'.
js-file-title
'
)[
1
].
click
all
(
'.
diff-toggle-caret
'
)[
1
].
click
wait_for_ajax
end
...
...
@@ -161,7 +161,7 @@ feature 'Expand and collapse diffs', js: true, feature: true do
# Wait for diffs
find
(
'.js-file-title'
,
match: :first
)
# Click `large_diff.md` title
all
(
'.
js-file-title
'
)[
1
].
click
all
(
'.
diff-toggle-caret
'
)[
1
].
click
wait_for_ajax
end
...
...
@@ -183,7 +183,7 @@ feature 'Expand and collapse diffs', js: true, feature: true do
# Wait for diffs
find
(
'.js-file-title'
,
match: :first
)
# Click `small_diff.md` title
all
(
'.
js-file-title
'
)[
3
].
click
all
(
'.
diff-toggle-caret
'
)[
3
].
click
end
it
'hides the diff content'
do
...
...
@@ -196,7 +196,7 @@ feature 'Expand and collapse diffs', js: true, feature: true do
# Wait for diffs
find
(
'.js-file-title'
,
match: :first
)
# Click `small_diff.md` title
all
(
'.
js-file-title
'
)[
3
].
click
all
(
'.
diff-toggle-caret
'
)[
3
].
click
end
it
'shows the diff content'
do
...
...
@@ -292,7 +292,7 @@ feature 'Expand and collapse diffs', js: true, feature: true do
# Wait for diffs
find
(
'.js-file-title'
,
match: :first
)
# Click `small_diff.md` title
all
(
'.
js-file-title
'
)[
3
].
click
all
(
'.
diff-toggle-caret
'
)[
3
].
click
end
it
'hides the diff content'
do
...
...
@@ -305,7 +305,7 @@ feature 'Expand and collapse diffs', js: true, feature: true do
# Wait for diffs
find
(
'.js-file-title'
,
match: :first
)
# Click `small_diff.md` title
all
(
'.
js-file-title
'
)[
3
].
click
all
(
'.
diff-toggle-caret
'
)[
3
].
click
end
it
'shows the diff content'
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