Skip to content

test(ux): repair the audit screenshot suite's dead nav selectors - #1180

Merged
mremond merged 1 commit into
mainfrom
fm/fluux-ux-audit
Jul 29, 2026
Merged

test(ux): repair the audit screenshot suite's dead nav selectors#1180
mremond merged 1 commit into
mainfrom
fm/fluux-ux-audit

Conversation

@mremond

@mremond mremond commented Jul 29, 2026

Copy link
Copy Markdown
Member

npm run ux:audit navigated by clicking [data-nav="directory"], [data-nav="archive"], and [data-nav="events"] — none of which the icon rail renders. Five tests sat on page.click until the 120s timeout instead of capturing anything, so the suite took 11.1 minutes to report five failures.

  • directorycontacts. Always a misnomer, not a drift: UX_REVIEW.md §6 is titled "Directory (contacts)" and the committed screenshots show the contacts roster. The three tests and their output files are renamed to match what they actually capture (04-contacts-list, 05-contacts-profile, 12-contacts-empty-detail).
  • archive moved rather than disappeared. Conversation-first navigation: relocate contacts, dissolve Events, in-context reactions #789 turned it from a rail tab into a toggle in the messages header, so the test now drives that toggle.
  • events was dissolved outright by the same change, with nothing replacing it. Its capture is dropped and §9 is marked as removed along with the feature. The section number is kept so existing cross-references still resolve.

Two stale claims the removal surfaced are also corrected: room invitations surface in the Rooms list (not contacts), and EVENT_HOOKS.md no longer describes the deleted EventsView as working unchanged.

The suite now passes 16/16 in about a minute. The three repaired captures were visually confirmed to show the intended views.

Known follow-up, deliberately out of scope: the executive summary, §3, and the §15 checklist still reference the removed Events tab and findings §9.2/§9.4. Reconciling those is tracked separately.

The UX-audit suite navigated by clicking [data-nav="directory"],
[data-nav="archive"], and [data-nav="events"], none of which the icon rail
renders. Those five tests sat on page.click until the 120s timeout instead of
capturing anything, so `npm run ux:audit` took 11.1 minutes to report five
failures.

- "directory" was always a misnomer for the contacts view: UX_REVIEW.md
  section 6 is titled "Directory (contacts)", and the committed screenshots
  show the contacts roster. Point the three tests at 'contacts' and rename
  them and their output files to match what they capture.
- The archive stopped being a rail tab when navigation became
  conversation-first (#789); it is now a toggle in the messages header. Drive
  it through that toggle instead.
- The Events view was dissolved outright by the same change, and nothing
  replaced it, so drop its capture and mark UX_REVIEW.md section 9 as removed
  along with the feature. The section number is retained so existing
  cross-references still resolve.

Also correct two stale claims the removal surfaced: room invitations surface in
the Rooms list rather than the contacts list, and EVENT_HOOKS.md no longer
describes the deleted EventsView as working unchanged.

The suite now passes 16/16 in about a minute.
@mremond mremond added this to the 0.17.3 milestone Jul 29, 2026
@mremond
mremond merged commit f07f75a into main Jul 29, 2026
5 checks passed
@mremond
mremond deleted the fm/fluux-ux-audit branch July 29, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant