Commit b583bb5f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Make sure mr approve tests have satellite

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 680b0877
...@@ -2,6 +2,7 @@ Feature: Project Merge Requests ...@@ -2,6 +2,7 @@ Feature: Project Merge Requests
Background: Background:
Given I sign in as a user Given I sign in as a user
And I own project "Shop" And I own project "Shop"
And project has satellites
And project "Shop" have "Bug NS-04" open merge request And project "Shop" have "Bug NS-04" open merge request
And project "Shop" have "Feature NS-03" closed merge request And project "Shop" have "Feature NS-03" closed merge request
And I visit project "Shop" merge requests page And I visit project "Shop" merge requests page
...@@ -269,7 +270,7 @@ Feature: Project Merge Requests ...@@ -269,7 +270,7 @@ Feature: Project Merge Requests
And I select "fix" as source And I select "fix" as source
Then I see auto-suggested approver Then I see auto-suggested approver
And I can add it to approver list And I can add it to approver list
Scenario: I should see rebase checkbox Scenario: I should see rebase checkbox
Given project "Shop" have "Bug NS-05" open merge request with diffs inside Given project "Shop" have "Bug NS-05" open merge request with diffs inside
......
...@@ -8,6 +8,10 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps ...@@ -8,6 +8,10 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
include SharedDiffNote include SharedDiffNote
include SharedUser include SharedUser
step 'project has satellites' do
project.ensure_satellite_exists
end
step 'I click link "New Merge Request"' do step 'I click link "New Merge Request"' do
click_link "New Merge Request" click_link "New Merge Request"
end end
......
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