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
a93ec52e
Commit
a93ec52e
authored
Jul 07, 2020
by
sstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove FF from issue_weight_spec.rb
parent
629c7f77
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
app/assets/javascripts/issuables_list/components/issuable.vue
...assets/javascripts/issuables_list/components/issuable.vue
+1
-0
ee/spec/features/issues/issue_weight_spec.rb
ee/spec/features/issues/issue_weight_spec.rb
+1
-5
No files found.
app/assets/javascripts/issuables_list/components/issuable.vue
View file @
a93ec52e
...
...
@@ -293,6 +293,7 @@ export default {
v-gl-tooltip
:title=
"__('Weight')"
class=
"d-none d-sm-inline-block js-weight"
data-testid=
"weight"
>
<icon
name=
"weight"
class=
"align-text-bottom"
/>
{{ issuable.weight }}
...
...
ee/spec/features/issues/issue_weight_spec.rb
View file @
a93ec52e
...
...
@@ -5,17 +5,13 @@ require 'spec_helper'
RSpec
.
describe
'Issue weight'
,
:js
do
let
(
:project
)
{
create
(
:project
,
:public
)
}
before
do
stub_feature_flags
(
vue_issuables_list:
false
)
end
it
'shows weight on issue list row'
do
create
(
:issue
,
project:
project
,
weight:
2
)
visit
project_issues_path
(
project
)
page
.
within
(
first
(
'.issuable-info'
))
do
expect
(
page
).
to
have_selector
(
'
.issue-weight-icon
'
)
expect
(
page
).
to
have_selector
(
'
[data-testid="weight"]
'
)
expect
(
page
).
to
have_content
(
2
)
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