summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-04-20 07:35:13 +0000
committerPhil Hughes <me@iamphill.com>2018-04-20 07:35:13 +0000
commit1999ed709363fb9b9f216c1052edbb91bdabcff1 (patch)
treeada7d81d1cfe400fd734af66528221c2d5b72345 /spec/features
parentef55bbd25400349aa9ec35e269f408f94ce5f890 (diff)
parent3854d28713ca4cc20063c8f38a1599c53a171de7 (diff)
downloadgitlab-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.rb7
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