Issue #4 acceptanceIndexTreeResultsG1G2G3G4G5G6G7G8

Issue #4 acceptance: scenario index

README | Screen tree | Markdown version: index.md | all scenarios PASS (A02 has a core and a Simple variant, so one extra row).

Groups

G1 Registration

Registers new accounts through the core /create-account/ form (simple_replace_register=0). A01 is the full happy path: register with an email that has guest orders, receive the confirmation mail (register copy), enter the account password and see the orders in Order History and Downloads, then reuse the link. A02 is the account-created page naming the shop mailbox (#55). A03 to A06 are the negatives (no orders, orders owned by an account, look-alike emails, status-0 order): welcome mail only, no notice.

IDTitleLangModeExpected resultStatusMedia
A01Register with a guest email, confirm, orders appearENcoreAccount-created page (A02). One mail with subject "Owl Crafts TM Embrioidery – confirm your email to add your earlier orders": "Hello E2E,", "An account was created at … We found earlier orders that were placed with this address without ...PASS01 02 03 04 05 06 07 08 09 10 video
A02Account-created page names the shop mailbox (#55)ENcore + simpleHeading "Your Account Has Been Created!"; "…please e-mail the owner info@owl-crafts.com." (catalog/language/english/account/success.php; RU/UA files mention no address)PASS02
A03Register, no orders at all: no confirmationENcoreWelcome mail only ("… - Thank you for registering", mail/customer.php); no "confirm your email" mail; no notice on My AccountPASS01 02 03 04 video
A04Register, only orders owned by an accountENcoreSame as A03; the orders stay with their ownerPASS01 02 03 04 video
A05Register, only look-alike emailsENcoreSame as A03 (binary-safe match)PASS01 02 03 04 video
A06Register, only a missing (status 0) orderENcoreSame as A03PASS01 02 03 04 video

G2 Notice and request

An existing, signed-in customer with unlinked guest orders. The notice appears on My Account, Order History and Downloads (desktop and 375 px), the request button sends the mail (#54 request copy), the link works from a fresh browser after sign-in, and no notice appears when there is nothing to link.

IDTitleLangModeExpected resultStatusMedia
A07Notice on My Account, Order History, Downloads (desktop + **375 px**)ENloginWell [data-testid=order-link-notice]: "Ordered from us before without signing in?", "If you placed orders as a guest using G, we can add them to your account so they appear here and your files are ready to download. To keep your orders ...PASS01 02 03 04 05 06 07 08 09 video video
A08Request a link: flash, then "sent" state with cooldownENloginFlash (data-type=success): "Done! We've sent a confirmation link to G." Body: "We've emailed a confirmation link to G. Open it within 7 days to add your earlier orders. Can't find it? Check your spam folder." Disabled button "Send the link ...PASS01 02 03 04 05 video video
A09Request email differs from register email (#54)ENlogin"You asked us to add your earlier guest orders to your account at Owl Crafts TM Embrioidery." and "If you didn't ask for this, please ignore this email." No "An account was created"PASS01 video
A10Link opened while logged out (another browser)ENloginRedirected to /login/ (no token= in the URL). After sign-in: password step, then "Orders added to your account: 1". The notice is gone on My AccountPASS01 02 03 04 05 video video
A11No notice when there is nothing to linkENloginNo notice on any of the 3 pagesPASS01 02 03 video

G3 Rate limits and request CSRF

Abuse limits on the request form: the 10-minute cooldown seen from a stale second tab, the 5-links-per-24-hours daily limit (reached by DB manipulation), and a forged or stale form token on the request.

IDTitleLangModeExpected resultStatusMedia
A12Cooldown: second request within 10 min (stale tab)ENloginTab 1 flash (warning): "We've just sent you a link. Please wait 10 min before requesting another one." Mailpit still shows 1 confirmation mailPASS01 02 03 video video
A13Daily limit: 5 links per 24 hENloginNotice: disabled "Send the link again" + "You've requested too many links today. Please try again tomorrow or contact us."; stale click gives the same text as a warning flash; no new mailPASS01 02 03 video video
A14Forged / stale request formENloginFlash (danger): "Your session has expired. Please try again." No mail, no link rowPASS01 02 03 video

G4 Link states

Every state of the confirmation link page: random, malformed and expired tokens (invalid), used token, signed in as a different account (with recovery), changed account email, and nothing left to add. Expired, used, wrong-customer, email-changed and nothing-left are reached by inserting or editing DB rows.

IDTitleLangModeExpected resultStatusMedia
A15Random 64-hex tokenENlogindata-state=invalid: "This link is invalid or has expired. Sign in and request a new one on the My Account page." Clean URL …order_link/confirmPASS01 02 video
A16Malformed token `abc`ENloginSame invalid textPASS01 video
A17Expired tokenENloginSame invalid text; the order stays a guest orderPASS01 video
A18Used tokenENloginused: "This link has already been used. Your earlier orders should already be in your order history. If something is missing, please contact us."PASS01 video
A19Signed in as a different account, then recoveryENloginwrong_customer: "This link was sent for a different account. Please sign out, then sign in with the account the email was sent to." Then A's password step, then success 1 (the token survived in the session)PASS01 02 03 video
A20Account email changed after the link was sentENloginemail_changed: "The email address on your account has changed since this link was sent. Please request a new link on the My Account page." Nothing linkedPASS01 video
A21Nothing left to addENloginnone: "Your email address is confirmed. There was nothing left to add: all orders placed with this address are already in your order history."PASS01 02 video

G5 Password step and login CSRF

Security of the password step: a login-CSRF attack that silently signs the victim into an attacker account is defeated by the password step, plus wrong password, login lockout shared with the login form, a forged confirm form, and the "not you, sign out" line.

IDTitleLangModeExpected resultStatusMedia
A22Login-CSRF attack is defeatedENloginOnly the password step for X ("You're signed in as E2E (V)…"). Nothing is linked until X's password is enteredPASS01 02 03 04 video
A23Wrong passwordENlogin[data-testid=order-link-error]: "The password is incorrect. Please try again." Still confirm; the token isn't consumedPASS01 video
A24Lockout shared with the login formENlogin"Too many incorrect password attempts. Please try again in 1 hour." Then setLoginAttempts(V, 2); the right password gives success 1PASS01 02 video
A25Forged confirm formENloginError "Your session has expired. Please try again."; the token isn't consumedPASS01 02 03 04 video
A26"If this isn't your account, sign out"ENloginLogout page; reopening CONFIRM_ROUTE leads to login (the token is still in the session)PASS01 02 03 04 video

G6 #53 copy, business rule, admin

#53 and the business rule that downloads need an account: the guest checkout-success text, the order email note, the absence of any guest download route, and the admin Customer Activity report rows for the new activity types.

IDTitleLangModeExpected resultStatusMedia
A27Checkout success page for a guest (#53)ENloginGuest: "As you placed this order without logging in, it will appear there once you log in and confirm your email address (DOWNLOADS will show you how)." and "You need an account to download PDFs. Create one with the email address you used ...PASS01 02 03 04 video video
A28Order email for a guest order with a PDF (#53)ENlogin"Once your payment has been confirmed you can click on the link below to access your downloadable products. You will need to log in to your account to see them; if you don't have an account yet, please create one with the email address you ...PASS01 02 video
A29No guest download link exists (§0 rule)ENloginHTTP 404, "The page you requested cannot be found!" (verified by curl while planning)PASS01 video
A30Admin Customer Activity report (EN)ENadminRows: "E2E Issue4-… was sent a link to confirm their email and add guest orders." and "E2E Issue4-… confirmed their email and added 1 guest order(s) to their account." with working customer_id links (hover only, see §4)PASS01 02 03 video

G7 Languages

Languages. A31 is a copy sheet of every shipped string in English, Russian and Ukrainian. A32 and A33 render the real Russian and Ukrainian files live through temporary local-only language rows, covering the notice, request, mail, password step and result.

IDTitleLangModeExpected resultStatusMedia
A31Three-language copy sheetEN RU UAnone33 order_link_* keys × EN/RU/UA (parity verified: same 33 keys in all 3); mail/order.php text_new_download; checkout/success.php text_guest; account/success.php text_message (EN only); admin text_order_link_request / text_order_link ...PASS01 02 03 04 05 06 07 08 09 video html json
A32Live Russian screensRUlogin (+ core for the register mail)RU strings from catalog/language/russian/account/order_link.php and checkout/success.phpPASS01 02 03 04 05 06 07 08 09 10 video video video
A33Live Ukrainian screensUAlogin (+ core)UA strings from catalog/language/ua-uk/…PASS01 02 03 04 05 06 07 08 09 10 video video video

G8 Simple-local (isolated)

Simple checkout registration (/simpleregister/), captured in an isolated loopback-only "Simple-local" mode that serves the local stack under the licensed owl-crafts.com name. A34 registers with a guest-order email and links the order; A35 registers with a fresh email and gets only the welcome mail.

IDTitleLangModeExpected resultStatusMedia
A34Simple register with a guest emailENsimple/simpleregister/ form (production UI); account-created page with info@owl-crafts.com (A02); one confirmation mail; success "Orders added to your account: 1"PASS01 02 03 04 05 06 07 video video
A02-simpleAccount-created page names the shop mailbox (#55) (Simple variant)ENsimpleHeading "Your Account Has Been Created!"; "…please e-mail the owner info@owl-crafts.com." (catalog/language/english/account/success.php; RU/UA files mention no address)PASS03
A35Simple register without guest ordersENsimpleWelcome mail only, no confirmationPASS01 02 03 04 05 video video

Automated suite (repo specs)

Run once at the end of the capture: 17 passed, 2 skipped, 1 failed. Raw output, explanation of every non-pass.