diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-10-16 20:03:07 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-10-16 20:03:07 +0300 |
commit | b1b197ae5e42c7f9a645f249bff28235bdba4c80 (patch) | |
tree | e125ea09692f5a1ee2c802389e0294fc6f9ee12e /features | |
parent | 5a8738a7b43ae567829bca36db6f13f430b56c83 (diff) | |
download | gitlab-ce-b1b197ae5e42c7f9a645f249bff28235bdba4c80.tar.gz |
Wait for ajax call in merge request unsubscribe test
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/merge_requests.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb index b0c33aa6f2f..de065dffbc2 100644 --- a/features/steps/project/merge_requests.rb +++ b/features/steps/project/merge_requests.rb @@ -7,6 +7,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps include SharedMarkdown include SharedDiffNote include SharedUser + include WaitForAjax step 'I click link "New Merge Request"' do click_link "New Merge Request" @@ -90,6 +91,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps step 'I click button "Unsubscribe"' do click_on "Unsubscribe" + wait_for_ajax end step 'I click link "Close"' do |