← 8. Library Module
Test cases — 8. Library Module
Download ExcelNo tickets are linked to this FRD — test cases were generated directly from the FRD.
QA Test Cases
| Test Case ID | Status | Title | Severity | Actions | |
|---|---|---|---|---|---|
| TC-001 | passed | User navigates to Library module via Tools > Library | Medium | ||
| TC-002 | failed | User uploads new files via Upload button pop-up | High | ||
| TC-003 | failed | User switches between Images and Documents tabs | Medium | ||
| TC-004 | failed | End-to-end critical path: access, upload, manage, download/delete | High | ||
| TC-005 | failed | Failed upload displays 'Upload failed! Please try again' label | Medium | ||
| TC-006 | failed | 'Try Again' button retries a failed upload from the start | Medium | ||
| TC-007 | failed | Uploaded file name displays correctly with ellipsis + hover for long names | Low | ||
| TC-008 | failed | Close (X) button closes the upload pop-up | Low | ||
| TC-009 | failed | Empty library shows correct title and subtitle message | Low | ||
| TC-010 | failed | Upload CTA on empty state opens upload pop-up | Low | ||
| TC-011 | failed | Search with no matches shows 'No Results found' | Low | ||
| TC-012 | failed | Empty state appears independently per tab based on data availability | Low | ||
| TC-013 | failed | Upload interrupted mid-progress shows failed label and Try again button | Medium | ||
| TC-014 | failed | XLS and DOC preview shows unsupported preview message | Low | ||
| TC-015 | failed | Browser refresh during upload cancels all in-progress uploads | Medium | ||
| TC-016 | failed | Cross-session deletion shows stale-file message in another open tab | Medium | ||
| TC-017 | failed | First-time Library open displays empty state | Low | ||
| TC-018 | failed | Upload progress tracking shows percentage with retry option on failure | Medium | ||
| TC-019 | failed | Multiple simultaneous uploads each show individual progress bars | Medium | ||
| TC-020 | failed | Successfully uploaded files are auto-sorted into correct tab | Medium | ||
| TC-021 | skipped | All agency team members can view files regardless of uploader | Medium | ||
| TC-022 | failed | Images tab displays grid layout with thumbnails, newest first, and hover metadata | Medium | ||
| TC-023 | failed | Clicking an image opens full-size preview with metadata and download | Medium | ||
| TC-024 | failed | Documents tab displays sortable, paginated table with required columns | Medium | ||
| TC-025 | failed | PDF document preview opens with metadata and download; XLS/DOC show fallback message | Medium | ||
| TC-026 | failed | Real-time search matches filenames case-insensitively | Medium | ||
| TC-027 | failed | Pagination controls behave correctly across pages (10 images/page) | Medium | ||
| TC-028 | skipped | Original uploader can delete their own file | Medium | ||
| TC-029 | failed | Delete action shows confirmation pop-up before deleting | Medium | ||
| TC-030 | failed | Deleted file is removed from Library but remains in linked modules | High | ||
| TC-031 | failed | Download is visible and functional for all users regardless of uploader | Medium | ||
| TC-032 | failed | Library images are usable across dependent modules per impact matrix | Medium | ||
| TC-033 | failed | File organization acceptance criteria: auto-sort and agency-wide visibility | Medium | ||
| TC-034 | failed | File display acceptance criteria: grid, table, preview, search, pagination | Medium | ||
Failures & Comments (35)
Failure
Agent · User uploads new files via Upload button pop-up · 2026-09-25 13:17 UTCUser uploads new files via Upload button pop-up
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('dialog').filter({ hasText: 'Upload Files/Images' }).getByRole('progressbar').first()
Expected: 2
Received: 0
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByRole('dialog').filter({ hasText: 'Upload Files/Images' }).getByRole('progressbar').first()
7 × locator resolved to 1 element
- unexpected value "1"
6 × locator resolved to 0 elements
- unexpected value "0"
Failure
Agent · File display acceptance criteria: grid, table, preview, search, pagination · 2026-09-25 13:00 UTCFile display acceptance criteria: grid, table, preview, search, pagination Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · File organization acceptance criteria: auto-sort and agency-wide visibility · 2026-09-25 13:00 UTCFile organization acceptance criteria: auto-sort and agency-wide visibility Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Library images are usable across dependent modules per impact matrix · 2026-09-25 13:00 UTCLibrary images are usable across dependent modules per impact matrix Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Download is visible and functional for all users regardless of uploader · 2026-09-25 13:00 UTCDownload is visible and functional for all users regardless of uploader Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Deleted file is removed from Library but remains in linked modules · 2026-09-25 13:00 UTCDeleted file is removed from Library but remains in linked modules Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Delete action shows confirmation pop-up before deleting · 2026-09-25 13:00 UTCDelete action shows confirmation pop-up before deleting Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Skipped
Agent · Original uploader can delete their own file · 2026-09-25 13:00 UTCOriginal uploader can delete their own file Skipped: STAFF credentials not configured in .env — see fixtures/users.ts hasCredentials()
Failure
Agent · Pagination controls behave correctly across pages (10 images/page) · 2026-09-25 13:00 UTCPagination controls behave correctly across pages (10 images/page) Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Real-time search matches filenames case-insensitively · 2026-09-25 13:00 UTCReal-time search matches filenames case-insensitively Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · PDF document preview opens with metadata and download; XLS/DOC show fallback message · 2026-09-25 13:00 UTCPDF document preview opens with metadata and download; XLS/DOC show fallback message Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Documents tab displays sortable, paginated table with required columns · 2026-09-25 13:00 UTCDocuments tab displays sortable, paginated table with required columns Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Clicking an image opens full-size preview with metadata and download · 2026-09-25 13:00 UTCClicking an image opens full-size preview with metadata and download Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Images tab displays grid layout with thumbnails, newest first, and hover metadata · 2026-09-25 13:00 UTCImages tab displays grid layout with thumbnails, newest first, and hover metadata Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Skipped
Agent · All agency team members can view files regardless of uploader · 2026-09-25 13:00 UTCAll agency team members can view files regardless of uploader Skipped: ADMIN/STAFF credentials not configured in this environment (see fixtures/users.ts / README.md).
Failure
Agent · Successfully uploaded files are auto-sorted into correct tab · 2026-09-25 13:00 UTCSuccessfully uploaded files are auto-sorted into correct tab Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Multiple simultaneous uploads each show individual progress bars · 2026-09-25 13:00 UTCMultiple simultaneous uploads each show individual progress bars Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Upload progress tracking shows percentage with retry option on failure · 2026-09-25 13:00 UTCUpload progress tracking shows percentage with retry option on failure Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · First-time Library open displays empty state · 2026-09-25 13:00 UTCFirst-time Library open displays empty state Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Cross-session deletion shows stale-file message in another open tab · 2026-09-25 13:00 UTCCross-session deletion shows stale-file message in another open tab Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Browser refresh during upload cancels all in-progress uploads · 2026-09-25 13:00 UTCBrowser refresh during upload cancels all in-progress uploads Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · XLS and DOC preview shows unsupported preview message · 2026-09-25 13:00 UTCXLS and DOC preview shows unsupported preview message Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Upload interrupted mid-progress shows failed label and Try again button · 2026-09-25 13:00 UTCUpload interrupted mid-progress shows failed label and Try again button Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Empty state appears independently per tab based on data availability · 2026-09-25 13:00 UTCEmpty state appears independently per tab based on data availability Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Search with no matches shows 'No Results found' · 2026-09-25 13:00 UTCSearch with no matches shows 'No Results found' Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Upload CTA on empty state opens upload pop-up · 2026-09-25 13:00 UTCUpload CTA on empty state opens upload pop-up Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Empty library shows correct title and subtitle message · 2026-09-25 13:00 UTCEmpty library shows correct title and subtitle message Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Close (X) button closes the upload pop-up · 2026-09-25 13:00 UTCClose (X) button closes the upload pop-up Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Uploaded file name displays correctly with ellipsis + hover for long names · 2026-09-25 13:00 UTCUploaded file name displays correctly with ellipsis + hover for long names Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · 'Try Again' button retries a failed upload from the start · 2026-09-25 13:00 UTC'Try Again' button retries a failed upload from the start Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · Failed upload displays 'Upload failed! Please try again' label · 2026-09-25 13:00 UTCFailed upload displays 'Upload failed! Please try again' label Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · End-to-end critical path: access, upload, manage, download/delete · 2026-09-25 13:00 UTCEnd-to-end critical path: access, upload, manage, download/delete Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · User switches between Images and Documents tabs · 2026-09-25 13:00 UTCUser switches between Images and Documents tabs Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · User uploads new files via Upload button pop-up · 2026-09-25 13:00 UTCUser uploads new files via Upload button pop-up Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.
Failure
Agent · User navigates to Library module via Tools > Library · 2026-09-25 13:00 UTCUser navigates to Library module via Tools > Library Error: Missing required env var SUPER_ADMIN_EMAIL. Copy .env.example to .env and fill it in.