Commit 4e2167a7 authored by Rémy Coutable's avatar Rémy Coutable Committed by Felipe Artur

Merge branch 'issue_26714' into 'master'

Fix 'reset-email' link spec

Closes #26714

See merge request !9317
parent f947ed54
......@@ -382,7 +382,9 @@ describe 'Issues', feature: true do
it 'changes incoming email address token', js: true do
find('.issue-email-modal-btn').click
previous_token = find('input#issue_email').value
find('.incoming-email-token-reset').click
find('.incoming-email-token-reset').trigger('click')
wait_for_ajax
expect(page).to have_no_field('issue_email', with: previous_token)
new_token = project1.new_issue_address(@user.reload)
......
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