?
TRCKR-597
testing,e2e,playwright
Created: 2025-12-20 Updated: 2025-12-22
Relationships Loading...
Attachments
Loading...
Comments (1)
agent · 2025-12-22
## Implementation Complete ### Changes Made: 1. **Added 'Updated' column to issues table** (server/templates/partials/issues_table.html): - Added sortable header with data-testid="issue-header-updated" at line 108 - Added cell with data-testid="issue-cell-updated" and data-date attribute at line 199 - Updated colspan from 9 to 10 for the empty row at line 202 2. **Created E2E test file** (tests/e2e/test_list_sort_updated_date.py): - test_sort_by_updated_date_ascending - Verifies oldest updated issues appear first - test_sort_by_updated_date_descending - Verifies newest updated issues appear first - test_sort_toggle_between_asc_and_desc - Verifies clicking header toggles sort direction - test_sort_indicator_shows_on_updated_header - Verifies caret icon shows on header - test_sort_preserves_updated_date_data_attribute - Verifies data-date attribute exists ### Test Results: All 5 new tests pass, and all 10 combined tests (5 created date + 5 updated date) pass. ### Implementation Pattern: Followed the existing pattern from test_list_sort_created_date.py for consistency. Added a helper function update_test_issue() to trigger updated_at changes via the PATCH API.