diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-07 15:32:07 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-11-01 09:15:44 +0000 |
commit | 6495b8522a0a26e839b24219ee9d18b626facd4c (patch) | |
tree | 0b3c9b403022483e83f5e8a30a9d5ad04f642f49 /spec | |
parent | 266fcfb1935c8aa8c6ac3d2ae71530c441b08675 (diff) | |
download | gitlab-ce-6495b8522a0a26e839b24219ee9d18b626facd4c.tar.gz |
Adds label description to issue board titleissue-boards-list-desciption-tooltip
Closes #22710
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/boards/boards_spec.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/features/boards/boards_spec.rb b/spec/features/boards/boards_spec.rb index 3234fabe288..a92075fec8f 100644 --- a/spec/features/boards/boards_spec.rb +++ b/spec/features/boards/boards_spec.rb @@ -53,7 +53,7 @@ describe 'Issue Boards', feature: true, js: true do context 'with lists' do let(:milestone) { create(:milestone, project: project) } - let(:planning) { create(:label, project: project, name: 'Planning') } + let(:planning) { create(:label, project: project, name: 'Planning', description: 'Test') } let(:development) { create(:label, project: project, name: 'Development') } let(:testing) { create(:label, project: project, name: 'Testing') } let(:bug) { create(:label, project: project, name: 'Bug') } @@ -91,6 +91,12 @@ describe 'Issue Boards', feature: true, js: true do expect(page).to have_selector('.board', count: 4) end + it 'shows description tooltip on list title' do + page.within('.board:nth-child(2)') do + expect(find('.board-title span.has-tooltip')[:title]).to eq('Test') + end + end + it 'shows issues in lists' do wait_for_board_cards(2, 2) wait_for_board_cards(3, 2) |