Skip to content

Commit ce33e8e

Browse files
committed
test(ui): add automation affordances + rerun discovery against them
The 2026-04-22 discovery run couldn't navigate the sidebar because the admin UI's nav items are <button (click)="handleNavClick(item)"> with no routerLink, href, or testid. Force-clicks either timed out on actionability or fell through to neighboring elements. This branch fixes that at the source: Sidebar (df-side-nav.component.html): * Leaf items are now <a routerLink> instead of <button (click)>. Real browser affordances (middle-click / ctrl-click opens in a new tab, hover shows URL, copy link works, screen readers announce "link"). handleNavClick() keeps clearing the error banner but routing now happens through [routerLink]. * data-testid on every leaf (`nav-api-connections-event-scripts`) and every expansion-panel header (`nav-group-api-connections`). Common dialog / table buttons: * data-testid on df-manage-table's `+` and refresh-schema buttons. * data-testid on df-confirm-dialog's confirm / cancel buttons. Automation: * New NavPage page-object (e2e/fixtures/nav.ts) that expands parent accordions and routes to any leaf by path. * Discovery spec (_findings.spec.ts) now uses NavPage; reaches real forms on four of five journeys. First rerun surfaced concrete findings (not fixed here, just reported): • api-db: Database create form has zero mat-selects at the position where a service-type picker was expected. • roles: create form renders only 1 input/select — a role form should have many fields. Suggests a lazy-load or licensing gate. • admins: /admin-settings/admins path still can't be reached via NavPage — the expansion panel opening logic may need another pass. • event-scripts: page crashed after picking service=db on the create form. Needs a focused repro. Files prefixed with `_` are exploratory; playwright.config.ts now ignores them on the default run so CI isn't gated on flaky discovery.
1 parent 3f8c62a commit ce33e8e

49 files changed

Lines changed: 398 additions & 1440 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/1253.4b9c45a3e0b1d93c.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/1253.a8dc4836a9b9d99d.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/1449.4b8b0341cc09d191.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/2830.2e38612b57c56b89.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/2830.cfd71f9b1d45295d.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/3280.d58a7538ae6dd56f.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/3280.f9e3c5916e0afd94.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)