379f1f9de6
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
18 lines
1.5 KiB
Markdown
18 lines
1.5 KiB
Markdown
# Manual tests — 24-8 Articles and Legal Pages
|
|
|
|
> **QA 2026-10-31:** every acceptance criterion for this task was verified by command or in-browser measurement and the task is Done. The items below are visual-impression checks for Naser, not outstanding criteria.
|
|
|
|
Automated (passed 2026-10-31, `tests/Feature/Design/ArticlesLegalRedesignTest.php`, 9 tests; Design dir 106 incl. old `PostsTest`): `/posts` section head,
|
|
one h1, debounced search input, text-only post cards; search filters, shows the count line and clear action; empty-state text;
|
|
pagination wrapper present with 12 posts; article page meta/h1/prose/back link, unpublished post is 404; `/page/terms` shows title,
|
|
sanitised content (script stripped) and last-updated line; terms/privacy views one h1; `/admin/posts` loads no public assets.
|
|
UI loop (`/posts`, `/page/terms`): no horizontal scroll at 390/768/1440.
|
|
|
|
Ruling logged: `x-site.section-head` gained an optional `tag` prop (default `h2`); `/posts` and `/booking` pass `tag="h1"` so each page has exactly one h1 (the spec's own acceptance criterion).
|
|
|
|
- [ ] `/posts`: type in the search box; after a short pause the list filters and "N results" appears; Clear resets.
|
|
- [ ] With more than 10 published posts: pagination pills at the bottom, current page forest green.
|
|
- [ ] Open an article: date, large display heading, readable body, Back button.
|
|
- [ ] `/page/terms` and `/page/privacy`: white card with the CMS text and "last updated" line; check Arabic and English.
|
|
- [ ] 390px on each page: no sideways scroll.
|