diff options
author | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-06-20 19:36:15 +0200 |
---|---|---|
committer | Jasper Maes <jaspermaes.jm@gmail.com> | 2018-06-20 20:02:05 +0200 |
commit | 2c15890edcf6b292e52e6fcbf6d2d1a7ef0aabe0 (patch) | |
tree | 5a6db12c9468734a37861e6c199bcdd3c03ab927 /spec/features/profiles/account_spec.rb | |
parent | abc6be62a06349f395da0b33e814512ef15c06fb (diff) | |
download | gitlab-ce-2c15890edcf6b292e52e6fcbf6d2d1a7ef0aabe0.tar.gz |
Rails 5 fix Capybara::ElementNotFound: Unable to find visible css #modal-revert-commit and expected: "/bar" got: "/foo"
Diffstat (limited to 'spec/features/profiles/account_spec.rb')
-rw-r--r-- | spec/features/profiles/account_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/profiles/account_spec.rb b/spec/features/profiles/account_spec.rb index 215b658eb7b..95947d2f111 100644 --- a/spec/features/profiles/account_spec.rb +++ b/spec/features/profiles/account_spec.rb @@ -67,4 +67,6 @@ def update_username(new_username) page.within('.modal') do find('.js-modal-primary-action').click end + + wait_for_requests end |