Skip to content

test(e2e): deep-linking and effective-default marker run live, seen to fail - #2065

Open
rubenvdlinde wants to merge 3 commits into
developmentfrom
cloud/b-launchpad-e2e-deeplink-marker
Open

rubenvdlinde wants to merge 3 commits into
developmentfrom
cloud/b-launchpad-e2e-deeplink-marker

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

e2e-coverage-programme tasks 3.17 (dashboard-deeplinking) and 3.19 (effective-default-marker): both specs were written but had never run. They now run green on a live instance, and every test was seen to fail.

Live run (sandbox Nextcloud 34.0.6 + MariaDB + Redis, OpenRegister main, launchpad development 7575129)

  • dashboard-deeplinking.spec.ts: 5/5 passed (6 scenarios)
  • effective-default-marker.spec.ts: 5/5 passed (5 scenarios)

Seen-to-fail pass (each mutation applied, run, then reverted)

Test Mutation Result
stale slug falls back PageController::computeDeepLinkPath() returns '' red (after the fix below)
slug address keeps canonical path same red
path endpoint DashboardTreeService::computePath() without the leading slash red
one pushState per switch, back pushState replaced by replaceState red
health not shadowed health route renamed (route cache flushed) red
all 5 marker tests effectiveDefaultUuid() returns '' red

Spec fix: the stale-slug test stayed green under the first mutation, because it compared the resolver's path with the handed path and both were ''. It now also requires the resolver's path to match /<slug>.

  • Specs run live and green
  • Mutation pass, tasks 3.17 and 3.19 ticked with the run notes
  • hydra diff check and npm run lint

Generated by Claude Code

…o fail [skip ci]

e2e-coverage-programme 3.17 and 3.19: both specs green on a live Nextcloud 34, each test seen red under a mutation of the code it covers. The stale-slug test now requires a real canonical path, so an empty path on both sides no longer passes.

Assisted-by: ClaudeCode:claude-opus-5-5
@rubenvdlinde
rubenvdlinde marked this pull request as ready for review November 25, 2026 15:25
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