diff options
author | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-07-19 09:43:27 +0200 |
---|---|---|
committer | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-07-19 10:07:38 +0200 |
commit | 76abd6d3a154785a2f22f6eb681c03e1372cc1a6 (patch) | |
tree | 2bdf356fd492e10c37633ca9f3d67859368b0ca6 /spec/features | |
parent | 98eccfc44c597ba14939659ca3b9150197129961 (diff) | |
download | gitlab-ce-76abd6d3a154785a2f22f6eb681c03e1372cc1a6.tar.gz |
Rails5 fix user sees revert modal spec
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/user_sees_revert_modal_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/features/user_sees_revert_modal_spec.rb b/spec/features/user_sees_revert_modal_spec.rb index 11a9e470f76..3b48ea4786d 100644 --- a/spec/features/user_sees_revert_modal_spec.rb +++ b/spec/features/user_sees_revert_modal_spec.rb @@ -9,6 +9,9 @@ describe 'Merge request > User sees revert modal', :js do sign_in(user) visit(project_merge_request_path(project, merge_request)) click_button('Merge') + + wait_for_requests + visit(merge_request_path(merge_request)) click_link('Revert') end |