diff options
author | Bryce Johnson <bryce@gitlab.com> | 2017-02-02 14:53:46 -0500 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2017-02-02 14:53:46 -0500 |
commit | aa91f508369a795878b3ee95556302cdb55d9f6c (patch) | |
tree | 1b9e05222fab9cbe573c5b374e991664373e5293 /features | |
parent | 70c4badf4e1192413fb4d8e95248533ca1e88c9d (diff) | |
download | gitlab-ce-aa91f508369a795878b3ee95556302cdb55d9f6c.tar.gz |
Find .merge-request instead of sleep in MR search spec.25624-anticipate-obstacles-to-removing-turbolinks
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/merge_requests.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb index 480906929b2..9f0057cace7 100644 --- a/features/steps/project/merge_requests.rb +++ b/features/steps/project/merge_requests.rb @@ -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 |