mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 21:26:07 +10:00
Fix for test with new form of MR.
This commit is contained in:
@@ -142,4 +142,5 @@ Feature: Project Merge Requests
|
||||
|
||||
Scenario: I submit new unassigned merge request with template description
|
||||
Given I click link "New Merge Request"
|
||||
And I select "notes_refactoring" as source
|
||||
Then I should see description field pre-filled
|
||||
|
||||
@@ -239,6 +239,12 @@ class ProjectMergeRequests < Spinach::FeatureSteps
|
||||
end
|
||||
end
|
||||
|
||||
step 'I select "notes_refactoring" as source' do
|
||||
select "master", from: "merge_request_source_branch"
|
||||
select "notes_refactoring", from: "merge_request_target_branch"
|
||||
click_button "Compare branches"
|
||||
end
|
||||
|
||||
step 'I should see description field pre-filled' do
|
||||
find_field('merge_request_description').value.should == 'This merge request should contain the following.'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user