Auth
Framework: BDD
Generated: 2026-06-23
Model: claude-sonnet-4-6
Test Name: Register with a valid email
Feature: Authentication
Traceability:
@SHIFT-36
Description: Verifies that a user can begin registration by submitting their email and receiving a 6-digit verification code.
This Test Verifies:
| Verification Step | What It Checks |
| Submit email to register |
A valid email submission triggers a 6-digit verification code to be sent to the user |
Test Name: Verify with a valid code
Feature: Authentication
Traceability:
@SHIFT-36
Description: Verifies that entering the correct verification code successfully logs the user in and gives them access to their account.
This Test Verifies:
| Verification Step | What It Checks |
| Submit correct verification code |
The user is authenticated and their account is accessible after entering the right code |
Test Name: Verify with an invalid code
Feature: Authentication
Traceability:
@SHIFT-37
Description: Verifies that entering an incorrect verification code prevents login and shows an appropriate error to the user.
This Test Verifies:
| Verification Step | What It Checks |
| Submit incorrect verification code |
The user sees a verification error and is not granted access when submitting a wrong code |
Test Name: Logout
Feature: Authentication
Traceability:
@SHIFT-38
Description: Verifies that a logged-in user can successfully log out and is returned to the home page in an unauthenticated state.
This Test Verifies:
| Verification Step | What It Checks |
| Log out while authenticated |
The user's session is ended and they are redirected to the home page without authentication |
Test Name: Delete account
Feature: Authentication
Traceability:
@SHIFT-39
Description: Verifies that a logged-in user can permanently delete their account, after which the account no longer exists.
This Test Verifies:
| Verification Step | What It Checks |
| Delete account while logged in |
The user's account is fully removed from the system after confirming deletion |
Test Name: Register with a valid email
Feature: Authentication
Traceability:
@SHIFT-36
Execution:
Skip: @skip
Journey: A new user submits their email on the Analyze page to begin registration and receives a 6-digit verification code.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Register with a valid email
|
User is on the Analyze page
|
User submits their email to register
|
User receives a 6-digit verification code
|
Positive
|
Test Name: Verify with a valid code
Feature: Authentication
Traceability:
@SHIFT-36
Execution:
Skip: @skip
Journey: A user who has received a verification code submits the correct code and is granted access to their account.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Verify with a valid code
|
User has received a verification code
|
User submits the correct verification code
|
User is logged in and sees their account
|
Positive
|
Test Name: Verify with an invalid code
Feature: Authentication
Traceability:
@SHIFT-37
Execution:
Skip: @skip
Journey: A user who has received a verification code submits an incorrect code and is shown a verification error.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Verify with an invalid code
|
User has received a verification code
|
User submits an incorrect verification code
|
User sees a verification error
|
Negative
|
Test Name: Logout
Feature: Authentication
Traceability:
@SHIFT-38
Execution:
Skip: @skip
Journey: An authenticated user logs out and is returned to the home page in an unauthenticated state.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Logout
|
User is logged in
|
User logs out
|
User is returned to the home page unauthenticated
|
Positive
|
Test Name: Delete account
Feature: Authentication
Traceability:
@SHIFT-39
Execution:
Skip: @skip
Journey: An authenticated user permanently deletes their account, after which the account no longer exists in the system.
| Scenario |
Given Context |
When Action |
Then Assertion |
Gherkin Type |
|
Delete account
|
User is logged in
|
User deletes their account
|
User's account no longer exists
|
Positive
|