summaryrefslogtreecommitdiff
path: root/qa/qa/specs/features/merge_request/create_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/specs/features/merge_request/create_spec.rb')
-rw-r--r--qa/qa/specs/features/merge_request/create_spec.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/qa/qa/specs/features/merge_request/create_spec.rb b/qa/qa/specs/features/merge_request/create_spec.rb
index 5807e539699..36d7efb02e1 100644
--- a/qa/qa/specs/features/merge_request/create_spec.rb
+++ b/qa/qa/specs/features/merge_request/create_spec.rb
@@ -20,11 +20,12 @@ module QA
merge_request.milestone = current_milestone
end
- Page::MergeRequest::Show.perform do |merge_request|
- expect(page).to have_content('This is a merge request with a milestone')
- expect(page).to have_content('Great feature with milestone')
- expect(page).to have_content(/Opened [\w\s]+ ago/)
- expect(merge_request).to have_milestone(current_milestone.title)
+ expect(page).to have_content('This is a merge request with a milestone')
+ expect(page).to have_content('Great feature with milestone')
+ expect(page).to have_content(/Opened [\w\s]+ ago/)
+
+ Page::Issuable::Sidebar.perform do |sidebar|
+ expect(sidebar).to have_milestone(current_milestone.title)
end
end
end