Commit a7abfcff authored by Michael Kozono's avatar Michael Kozono

Merge branch 'fix-sidebar-spec-master' into 'master'

Fix no assignee text in sidebar_spec

Closes #11192

See merge request gitlab-org/gitlab-ee!11099
parents bf1f8edf 7577fdbc
......@@ -184,7 +184,7 @@ export default {
<i aria-hidden="true" data-hidden="true" class="fa fa-exclamation-triangle"></i>
</span>
<template v-if="hasNoUsers">
<span class="assign-yourself no-value">
<span class="assign-yourself no-value qa-assign-yourself">
None
<template v-if="editable">
- <button type="button" class="btn-link" @click="assignSelf">assign yourself</button>
......
......@@ -91,7 +91,7 @@ describe 'Issue Boards', :js do
wait_for_requests
expect(page).to have_content('No assignee')
expect(find('.qa-assign-yourself')).to have_content('None')
end
expect(card_two).not_to have_selector('.avatar')
......@@ -101,7 +101,7 @@ describe 'Issue Boards', :js do
click_card(card2)
page.within(find('.assignee')) do
expect(page).to have_content('No assignee')
expect(find('.qa-assign-yourself')).to have_content('None')
click_button 'assign yourself'
......
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