Commit 452043cb authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'ss/issuabled-update-issues-spec' into 'master'

Fix spec for issuables in update_issues_spec

See merge request gitlab-org/gitlab!37016
parents c48f84f1 21003484
......@@ -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"
data-qa-selector="assignee_link"
>
......
......@@ -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