Rails 5 fix Capybara::ElementNotFound: Unable to find visible css #modal-revert-commit and expected: "/bar" got: "/foo"
This commit is contained in:
parent
abc6be62a0
commit
2c15890edc
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue