Student Portal UAT — test on https://sp-dev.fly.dev. Story SP-09. Collab sync is separate from catalog Business UAT.
What you're proving
A confirmed tuition charge enrolls the learner; failed charges do not..
Before you start
| Who | Password | |
|---|---|---|
| Learner (applicant) | applicant@example.com | TestPass123! |
| Enrollment Admin | enrollment.admin@lsu.edu | admin123 |
| Business Office | business.admin@lsu.edu | admin123 |
| Django superuser | admin@lsu.edu | *(ask team for sp-dev password)* |
Sign on: https://sp-dev.fly.dev/accounts/login/
Mailpit: https://sp-dev.fly.dev/_mail/
QA Tools: https://sp-dev.fly.dev/admin/qa_tools/seedtool/
Run the QA Tools seeds listed in each step before testing. On sp-dev, admin@lsu.edu is not admin123.
Step 1 — A confirmed tuition charge enrolls the learner (Priority: P1)
- Navigate:
https://sp-dev.fly.dev/accounts/applications/checkout/applicant@example.comas/TestPass123!` - Act: Pay with
4242 4242 4242 4242. Wait until the page reloads. - Navigate:
https://sp-dev.fly.dev/accounts/enrollments/` as the applicant - Act: Open the page.
- Navigate: Checkout again as the applicant, then My Enrollments, then application detail as the Enrollment Admin
- Act: Reload checkout. The page loads the completed charge again and records enrollment from that same order. Then open My Enrollments and the application’s Enrollments card.
You're done when
Step 2 — Payment history keeps what the tax file needs (Priority: P1)
- Navigate:
https://sp-dev.fly.dev/dashboard/applications/<pk>/for this applicant asenrollment.admin@lsu.edu/ *(sp-dev superuser password)* - Act: On the Fees card, find the order whose number starts with TUITION-.
- Navigate: The same application detail page as the Enrollment Admin
- Act: On the Fees card, read Invoices for the tuition order from US2-1.
You're done when
Step 3 — A failed charge does not enroll the learner (Priority: P1)
- Navigate: Checkout as the applicant, then
https://sp-dev.fly.dev/accounts/enrollments/` - Act: Pay with
4000 0000 0000 0002. After the error, open My Enrollments. On a still-unpaid cart, you can also pay with4000 0025 0000 3155and close the extra verification window instead of finishing it, then open My Enrollments again. - Navigate:
https://sp-dev.fly.dev/accounts/payments/` as the applicant, and application detail as the Enrollment Admin - Act: After the decline (and, if you tried it, after the unfinished extra check), open both pages.
- Navigate: Checkout, pay with
4242 4242 4242 4242, then My Enrollments and the tuition order - Act: Count enrollment rows and completed tuition orders.
- Navigate:
https://sp-dev.fly.dev/accounts/enrollments/` as the applicant - Act: Open the page after the application fee and before Pay tuition succeeds.
- Navigate: Checkout as the applicant
- Act: Reload checkout. Do not enter a card.
You're done when