Commit 9d31965d authored by Phil Hughes's avatar Phil Hughes

Merge branch 'ee-issue_45435' into 'master'

[EE-PORT] Fix issues without links when added from boards new issue  modal

See merge request gitlab-org/gitlab-ee!5425
parents b287e425 d2d9a5ff
......@@ -116,6 +116,8 @@ class List {
issue.project = data.project;
issue.assignees = data.assignees;
issue.labels = data.labels;
issue.path = data.real_path;
issue.referencePath = data.reference_path;
if (this.issuesSize > 1) {
const moveBeforeId = this.issues[1].id;
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment