diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-07 20:09:30 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-07 20:09:30 +0100 |
commit | 74d73bd953c0a083cbf8aaf919a7034067542382 (patch) | |
tree | ded45719b5d3d967069ec39651f520891373a25b /features/steps/project/merge_requests | |
parent | 168b3e973f020105b4ca53a94367c572146c3faa (diff) | |
download | gitlab-ce-74d73bd953c0a083cbf8aaf919a7034067542382.tar.gz |
Fix random failing test
Make sure we wait till page reloads after request was merged. Otherwise
we get request running which fails next test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps/project/merge_requests')
-rw-r--r-- | features/steps/project/merge_requests/acceptance.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/features/steps/project/merge_requests/acceptance.rb b/features/steps/project/merge_requests/acceptance.rb index 6adecaa8385..383c055c4ef 100644 --- a/features/steps/project/merge_requests/acceptance.rb +++ b/features/steps/project/merge_requests/acceptance.rb @@ -32,4 +32,8 @@ class Spinach::Features::ProjectMergeRequestsAcceptance < Spinach::FeatureSteps step 'I am signed in as a developer of the project' do login_as(@user) end + + step 'I should see merge request merged' do + expect(page).to have_content('The changes were merged into') + end end |