Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Bug: Multiple "Email Confirmed" toasts on login #96051

Closed inaikem closed 1 week ago

inaikem commented 1 week ago

Quick summary

Two "Email Confirmed" toasts are shown after logging in for the first time after following a magic login link.

Page: https://wordpress.com/sites?verified=1

Steps to reproduce

  1. Create a new account
  2. Follow the "Confirm your email" link in the activation email.
  3. Enter your email address for a magic link
  4. Follow the "Log in now" link in the email you receive.
  5. /sites?verified=1 and two "Email Confirmed" toasts are shown on the top right of the screen.

What you expected to happen

Only one toast to be shown.

What actually happened

Image

Impact

All

Available workarounds?

No but the platform is still usable

If the above answer is "Yes...", outline the workaround.

No response

Platform (Simple and/or Atomic)

Simple, Atomic

Logs or notes

No response

github-actions[bot] commented 1 week ago

OpenAI suggested the following labels for this issue:

Robertght commented 1 week ago

📌 REPRODUCTION RESULTS

📌 ACTIONS

📌 Message to Author @inaikem I couldn't replicate this using an incognito mode and a new account. Did you test this on a particular browser or was were you using a Chrome/browser profile instead of incognito?

inaikem commented 1 week ago

It was Chrome incognito!

I started the flow incognito and opened the email links in a new incognito window while the other flow was active in the original window. Hope that helps!