Find .merge-request instead of sleep in MR search spec.

This commit is contained in:
Bryce Johnson 2017-02-02 14:53:46 -05:00
parent 70c4badf4e
commit aa91f50836
1 changed files with 3 additions and 1 deletions

View File

@ -501,7 +501,9 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
step 'I fill in merge request search with "Fe"' do
fill_in 'issuable_search', with: "Fe"
sleep 3
page.within '.merge-requests-holder' do
find('.merge-request')
end
end
step 'I click the "Target branch" dropdown' do