Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-04-20 10:35:13 +0300
committerFilipa Lacerda <filipa@gitlab.com>2018-04-20 12:57:02 +0300
commit996dd2297ddecbb96f01c672d5a43a85b89a4f00 (patch)
tree5eb18f658db72ed6cddcd364b42ff5b4d98b5f47 /spec
parent7a8ce8e36e3e9d32ec0fc8d9dbe05bf52b16651e (diff)
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')
-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