Commit 2c15890e authored by Jasper Maes's avatar Jasper Maes

Rails 5 fix Capybara::ElementNotFound: Unable to find visible css...

Rails 5 fix Capybara::ElementNotFound: Unable to find visible css #modal-revert-commit and expected: "/bar" got: "/foo"
parent abc6be62
---
title: 'Rails 5 fix Capybara::ElementNotFound: Unable to find visible css #modal-revert-commit
and expected: "/bar" got: "/foo"'
merge_request: 20044
author: Jasper Maes
type: fixed
......@@ -67,4 +67,6 @@ def update_username(new_username)
page.within('.modal') do
find('.js-modal-primary-action').click
end
wait_for_requests
end
......@@ -13,6 +13,8 @@ describe 'User reverts a merge request', :js do
click_button('Merge')
wait_for_requests
visit(merge_request_path(merge_request))
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