From c93bba1c77fc19d092ce50ea4e078b5869daf9eb Mon Sep 17 00:00:00 2001 From: alice-carr Date: Tue, 11 Aug 2026 16:34:57 +0100 Subject: [PATCH] remove check for notify confirmation email we have switched from using notify to using ses for confirmation emails. this commit removes a check that was left in for backwards compatability. --- spec/support/feature_helpers.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/spec/support/feature_helpers.rb b/spec/support/feature_helpers.rb index 9c7c3f5..f7c28a9 100644 --- a/spec/support/feature_helpers.rb +++ b/spec/support/feature_helpers.rb @@ -455,12 +455,7 @@ def form_is_filled_in_by_form_filler(live_form_link, yes_branch: false, confirma logger.info "When I have filled out a form and requested a confirmation email" logger.info "Then I can see the confirmation in my email inbox" - # TODO: remove this once forms-runner is sending confirmation emails with SES. - begin - wait_for_notification(confirmation_email_reference) - rescue NotifyException - wait_for_confirmation_email(submission_reference) - end + wait_for_confirmation_email(submission_reference) end if copy_of_answers