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
869dcd92
Commit
869dcd92
authored
Sep 01, 2020
by
Eulyeon Ko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix vertical misalignment for related mr icon
parent
0757395c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/javascripts/issuables_list/components/issuable.vue
...assets/javascripts/issuables_list/components/issuable.vue
+1
-1
spec/features/issuables/issuable_list_spec.rb
spec/features/issuables/issuable_list_spec.rb
+2
-2
No files found.
app/assets/javascripts/issuables_list/components/issuable.vue
View file @
869dcd92
...
...
@@ -158,7 +158,7 @@ export default {
value
:
this
.
issuable
.
merge_requests_count
,
title
:
__
(
'
Related merge requests
'
),
dataTestId
:
'
merge-requests
'
,
class
:
'
js-merge-requests
icon-merge-request-unmerged
'
,
class
:
'
js-merge-requests
'
,
icon
:
'
merge-request
'
,
},
{
...
...
spec/features/issuables/issuable_list_spec.rb
View file @
869dcd92
...
...
@@ -51,8 +51,8 @@ RSpec.describe 'issuable list', :js do
it
"counts merge requests closing issues icons for each issue"
do
visit_issuable_list
(
:issue
)
expect
(
page
).
to
have_selector
(
'
.icon-merge-request-unmerged
'
,
count:
1
)
expect
(
first
(
'
.icon-merge-request-unmerged
'
).
find
(
:xpath
,
'..'
)).
to
have_content
(
1
)
expect
(
page
).
to
have_selector
(
'
[data-testid="merge-requests"]
'
,
count:
1
)
expect
(
first
(
'
[data-testid="merge-requests"]
'
).
find
(
:xpath
,
'..'
)).
to
have_content
(
1
)
end
def
visit_issuable_list
(
issuable_type
)
...
...
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