diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-07 16:18:42 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-11-04 10:25:47 +0000 |
commit | 277712cc670684ed6df162f810f860215da2a7ee (patch) | |
tree | 0fcf7dd5e19cb0d66bad60505cfca422e28d3a0f /spec | |
parent | 957744dab4297f66dc70c1727fe2cf5282d2ea5a (diff) | |
download | gitlab-ce-277712cc670684ed6df162f810f860215da2a7ee.tar.gz |
Creates new list from a new labelissue-board-new-label-new-list
Closes #23026
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/boards/boards_spec.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/features/boards/boards_spec.rb b/spec/features/boards/boards_spec.rb index a92075fec8f..6cb8753e8fc 100644 --- a/spec/features/boards/boards_spec.rb +++ b/spec/features/boards/boards_spec.rb @@ -380,6 +380,25 @@ describe 'Issue Boards', feature: true, js: true do wait_for_board_cards(1, 5) end + + it 'creates new list from a new label' do + click_button 'Create new list' + + wait_for_ajax + + click_link 'Create new label' + + fill_in('new_label_name', with: 'Testing New Label') + + first('.suggest-colors a').click + + click_button 'Create' + + wait_for_ajax + wait_for_vue_resource + + expect(page).to have_selector('.board', count: 5) + end end end |