AS A new user,
I WANT TO receive a confirmation email after creating my account,
SO THAT I can verify my email and complete the account setup.
SCENARIO 1: Successful Account Creation and Email Sent
GIVEN the user has successfully completed the account creation form,
WHEN the user clicks the "Create Account" button,
THEN the system should create the user account
WITHIN 2 seconds,
AND send a confirmation email to the provided email address
WITHIN 1 second after account creation.
SCENARIO 2: Confirmation Email Received and Verified
GIVEN the system has sent the confirmation email,
WHEN the user clicks the confirmation link in the email,
THEN the system should verify the email address and activate the user’s account
WITHIN 2 seconds.
SCENARIO 3: Account Creation Canceled Before Email Sent
GIVEN the user is on the account creation form,
WHEN the user clicks the "Cancel" button before submitting,
THEN the system should discard all entered information and not create an account,
WITHIN 1 second,
AND no confirmation email should be sent.
AS A new user, I WANT TO receive a confirmation email after creating my account, SO THAT I can verify my email and complete the account setup.
SCENARIO 1: Successful Account Creation and Email Sent GIVEN the user has successfully completed the account creation form, WHEN the user clicks the "Create Account" button, THEN the system should create the user account WITHIN 2 seconds, AND send a confirmation email to the provided email address WITHIN 1 second after account creation.
SCENARIO 2: Confirmation Email Received and Verified GIVEN the system has sent the confirmation email, WHEN the user clicks the confirmation link in the email, THEN the system should verify the email address and activate the user’s account WITHIN 2 seconds.
SCENARIO 3: Account Creation Canceled Before Email Sent GIVEN the user is on the account creation form, WHEN the user clicks the "Cancel" button before submitting, THEN the system should discard all entered information and not create an account, WITHIN 1 second, AND no confirmation email should be sent.