Commit 30cce4d4 authored by Luke Bennett's avatar Luke Bennett

Fix mirror_spec with new modal

parent 45deab01
......@@ -136,7 +136,8 @@ describe 'Project mirror', :js do
expect(page).to have_content(first_key)
# Check regenerating the public key works
accept_confirm { click_without_sidekiq 'Regenerate key' }
click_without_sidekiq 'Regenerate key'
find('.js-regenerate-public-ssh-key-confirm-modal .js-confirm').click
wait_for_requests
page.within('.project-mirror-settings') do
......
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