diff options
author | Phil Hughes <me@iamphill.com> | 2018-04-20 07:35:13 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-04-20 07:35:13 +0000 |
commit | 1999ed709363fb9b9f216c1052edbb91bdabcff1 (patch) | |
tree | ada7d81d1cfe400fd734af66528221c2d5b72345 /spec/features | |
parent | ef55bbd25400349aa9ec35e269f408f94ce5f890 (diff) | |
parent | 3854d28713ca4cc20063c8f38a1599c53a171de7 (diff) | |
download | gitlab-ce-1999ed709363fb9b9f216c1052edbb91bdabcff1.tar.gz |
Merge branch 'issue_45435' into 'master'
Fix issues without links when added from boards new issue modal
Closes #45435
See merge request gitlab-org/gitlab-ce!18460
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/boards/new_issue_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/features/boards/new_issue_spec.rb b/spec/features/boards/new_issue_spec.rb index 6769acb7c9c..e880f0096c1 100644 --- a/spec/features/boards/new_issue_spec.rb +++ b/spec/features/boards/new_issue_spec.rb @@ -63,6 +63,13 @@ describe 'Issue Boards new issue', :js do page.within(first('.board .issue-count-badge-count')) do expect(page).to have_content('1') end + + page.within(first('.card')) do + issue = project.issues.find_by_title('bug') + + expect(page).to have_content(issue.to_reference) + expect(page).to have_link(issue.title, href: issue_path(issue)) + end end it 'shows sidebar when creating new issue' do |