Commit ae3cdf93 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'rails5-fix-revert-modal-spec' into 'master'

Rails5 fix user sees revert modal spec

See merge request gitlab-org/gitlab-ce!20706
parents 517f3370 76abd6d3
---
title: Rails5 fix user sees revert modal spec
merge_request: 20706
author: Jasper Maes
type: fixed
...@@ -9,6 +9,9 @@ describe 'Merge request > User sees revert modal', :js do ...@@ -9,6 +9,9 @@ describe 'Merge request > User sees revert modal', :js do
sign_in(user) sign_in(user)
visit(project_merge_request_path(project, merge_request)) visit(project_merge_request_path(project, merge_request))
click_button('Merge') click_button('Merge')
wait_for_requests
visit(merge_request_path(merge_request)) visit(merge_request_path(merge_request))
click_link('Revert') click_link('Revert')
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment