Commit 21003484 authored by Scott Stern's avatar Scott Stern Committed by Kushal Pandya

Fix spec for issuables in update_issues_spec

parent 576d29a4
......@@ -356,7 +356,13 @@ export default {
</ul>
<div v-else-if="issuables.length">
<div v-if="isBulkEditing" class="issue px-3 py-3 border-bottom border-light">
<input type="checkbox" :checked="allIssuablesSelected" class="mr-2" @click="onSelectAll" />
<input
id="check-all-issues"
type="checkbox"
:checked="allIssuablesSelected"
class="mr-2"
@click="onSelectAll"
/>
<strong>{{ __('Select all') }}</strong>
</div>
<ul
......
......@@ -86,7 +86,7 @@ export default {
:img-css-classes="imgCssClasses"
:img-src="avatarUrl(assignee)"
:img-size="iconSize"
class="js-no-trigger"
class="js-no-trigger author-link"
tooltip-placement="bottom"
>
<span class="js-assignee-tooltip">
......
......@@ -8,7 +8,6 @@ RSpec.describe 'Multiple issue updating from issues#index', :js do
let!(:user) { create(:user)}
before do
stub_feature_flags(vue_issuables_list: false)
project.add_maintainer(user)
sign_in(user)
end
......@@ -52,7 +51,7 @@ RSpec.describe 'Multiple issue updating from issues#index', :js do
click_update_issues_button
page.within('.issue .controls') do
expect(find('.author-link')["title"]).to have_content(user.name)
expect(find('.author-link')['href']).to have_content(user.website_url)
end
end
......@@ -83,13 +82,15 @@ RSpec.describe 'Multiple issue updating from issues#index', :js do
find('.dropdown-menu-milestone a', text: milestone.title).click
click_update_issues_button
expect(find('.issue')).to have_content milestone.title
expect(page.find('.issue')).to have_content milestone.title
end
it 'sets to no milestone' do
create_with_milestone
visit project_issues_path(project)
wait_for_requests
expect(first('.issue')).to have_content milestone.title
click_button 'Edit issues'
......
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