Wait for email submission in user edit profile spec
What does this MR do and why?
Fixes a flaky test in spec/features/profiles/user_edit_profile_spec.rb for the "clears the reset password token" scenario.
The fix adds assertions that wait for the confirmation email message to appear on the page before checking the user state. This ensures the form submission has completed before reloading the user, fixing a race condition that caused intermittent test failures.