You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Conduction Release Bot
committed
fix(e2e): assert the dashboard that exists, and stop pinning English on a Dutch instance
development E2E has been red for a day with six failures in two clusters.
Both are the suite describing a world the app left behind. Neither was
introduced by the icon work merged earlier today; the same six fail on the
08-31 21:06 run, checked.
## dashboard.spec.ts, three tests
They assert an info box: the sentence "Overzicht van uw softwarecatalogus",
a heading "Beheer van Organisaties", a "Vernieuwen" button on the surface and
a "Ga naar Organisaties" quick-nav. None of that string set exists anywhere
in src/ or l10n/nl.json any more. The dashboard is now four stat tiles plus
the catalog-panels widget, since the KPI tiles landed in #892, and the spec
was never updated.
- the overview test now asserts the four tiles and the object-statistics
panel;
- the refresh test now opens the PAGE ACTIONS menu, where CnDashboardPage
puts Refresh (showRefresh defaults true), instead of looking for a button
on the surface;
- the "Ga naar Organisaties" test is REMOVED rather than retargeted. Its
own comment already recorded that the button was a no-op in the shared
shell and that the user real path is the Organisations nav entry, which
is the very next test in the file. Rewriting it would have tested that
path twice while pretending to cover a control that no longer exists.
⚠️ The tile labels are asserted in DUTCH, and they are not all the manifest
source. The manifest says "Services"; nl.json maps it to "Diensten". An
English assertion would pass only on an English instance.
## sbom-import.spec.ts, two tests
await page.getByRole("tab", { name: "Components" }).click()
The manifest labels that tab "Components" and nl.json maps it to
"Componenten". The e2e instance runs Dutch, so the tab never matched and both
tests died on a 60s click timeout that reads like a missing feature rather
than a wrong string. The matcher now accepts either spelling, as does the
"Open sidebar" button above it.
🔑 The underlying debt is that this suite mixes locales: the dashboard tests
asserted Dutch, the sbom tests asserted English, against one Dutch instance.
Locale-tolerant matchers are the cheap fix; a decided convention is the real
one.
0 commit comments