Skip to content
Snippets Groups Projects
Commit 0b4b0457 authored by Stan Hu's avatar Stan Hu
Browse files

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
parents 459e6d34 357cd971
Branches
Tags
No related merge requests found
Pipeline #
Loading
@@ -42,6 +42,7 @@ class Spinach::Features::ProjectForkedMergeRequests < Spinach::FeatureSteps
Loading
@@ -42,6 +42,7 @@ class Spinach::Features::ProjectForkedMergeRequests < Spinach::FeatureSteps
   
click_button "Compare branches" click_button "Compare branches"
   
expect(page).to have_content "New merge request"
fill_in "merge_request_title", with: "Merge Request On Forked Project" fill_in "merge_request_title", with: "Merge Request On Forked Project"
end end
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment