Commit fbf7282c authored by Miguel Rincon's avatar Miguel Rincon

Merge branch 'ss/fix-project-issuables-list-spec' into 'master'

Remove FF from issue_weight_spec.rb

See merge request gitlab-org/gitlab!36354
parents c869de6b a93ec52e
...@@ -323,6 +323,7 @@ export default { ...@@ -323,6 +323,7 @@ export default {
v-gl-tooltip v-gl-tooltip
:title="__('Weight')" :title="__('Weight')"
class="d-none d-sm-inline-block js-weight" class="d-none d-sm-inline-block js-weight"
data-testid="weight"
> >
<gl-icon name="weight" class="align-text-bottom" /> <gl-icon name="weight" class="align-text-bottom" />
{{ issuable.weight }} {{ issuable.weight }}
......
...@@ -5,17 +5,13 @@ require 'spec_helper' ...@@ -5,17 +5,13 @@ require 'spec_helper'
RSpec.describe 'Issue weight', :js do RSpec.describe 'Issue weight', :js do
let(:project) { create(:project, :public) } let(:project) { create(:project, :public) }
before do
stub_feature_flags(vue_issuables_list: false)
end
it 'shows weight on issue list row' do it 'shows weight on issue list row' do
create(:issue, project: project, weight: 2) create(:issue, project: project, weight: 2)
visit project_issues_path(project) visit project_issues_path(project)
page.within(first('.issuable-info')) do 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) expect(page).to have_content(2)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment