Merge branch 'improve-spinach-test-for-mr-submit' into 'master'

Add an expect call to prevent random Spinach failure

This should help prevent getting the error:

```
Unable to find field "merge_request_title
```

This was happening probably because it takes some time after the "Compare branches" button is hit before the "New merge request" page showed up.

See merge request !882
This commit is contained in:
Stan Hu 2015-07-01 16:54:32 +00:00
commit 0b4b045758
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ class Spinach::Features::ProjectForkedMergeRequests < Spinach::FeatureSteps
click_button "Compare branches"
expect(page).to have_content "New merge request"
fill_in "merge_request_title", with: "Merge Request On Forked Project"
end