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