User story
Given that I am on the wish submission form and am not logged in, I should see a message to log in to submit a wish.
Acceptance criteria
- When the user is not logged in, on pageload, the user should see a message to log in.
- The gadget itself should not load either.
Requirement
When a user is not logged in and visits the wish submission form, they should see a message prompting them to log in. The form should not load for logged-out users.
BDD
Given that I am on the wish submission form and am not logged in,
When the page loads,
Then I should see a message prompting me to log in,
And the form should not be displayed.
Test Steps
Test Case 1: Display log-in message for logged-out users
- Navigate to the wish submission form without being logged in.
- Observe the page content.
- AC1: Verify a message prompts the user to log in and does not load.
Test Case 2: Form availability for logged-in users
- Log in to the site.
- Navigate to the wish submission form.
- AC2: Verify the form loads correctly.
QA Results - Patchdemo
AC | Status | Details |
---|---|---|
1 | ✅ | T363221#9907411 |