Skip to content

test(e2e): seed the walkthrough marker so the tour cannot intercept clicks - #393

Merged
rubenvdlinde merged 1 commit into
developmentfrom
test/seed-walkthrough-marker
Aug 29, 2026
Merged

test(e2e): seed the walkthrough marker so the tour cannot intercept clicks#393
rubenvdlinde merged 1 commit into
developmentfrom
test/seed-walkthrough-marker

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

@conduction/nextcloud-vue 2.22.x made the product walkthrough actually open, and its dim layer intercepts clicks.

A placement: "center" welcome step used to be parked in _pendingAutoTour and never shown — a real bug the library fixed, so the tour now correctly starts on any route. But cn-walkthrough__dim--full is a role="dialog" aria-modal="true" full-screen layer, which changes two things for this suite:

  • clicks behind it time out (waiting for element to be visible, enabled and stable)
  • getByRole('dialog').first() resolves to the dim layer instead of the modal under test, so heading assertions fail against a dialog that was never the one meant

The marker is per USER, not per test, so leaving it unseeded also leaves the suite order-dependent: whichever spec runs first wears the tour and the rest inherit a dismissed one.

Seeds the same marker dossiq's global-setup already seeds, with a sentinel above any real app version so the tour composes to an empty step set rather than merely starting dismissed.

…licks

@conduction/nextcloud-vue 2.22.x made the product walkthrough actually open.
A `placement: "center"` welcome step used to be parked in `_pendingAutoTour`
and never shown; the library now correctly starts it on any route. Its
`cn-walkthrough__dim--full` layer is a `role="dialog" aria-modal="true"`
overlay, so every spec that clicks behind it times out, and
`getByRole('dialog').first()` resolves to the dim layer rather than the
modal under test.

The marker is per USER, not per test, so leaving it unseeded also makes the
suite order-dependent: whichever spec runs first wears the tour.

Seeds the same marker dossiq's global-setup already seeds, with a sentinel
above any real app version so the tour composes to an empty step set.
@rubenvdlinde
rubenvdlinde merged commit 6b858ff into development Aug 29, 2026
27 of 28 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/launchpad @ 0b1ba84

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
build
check-manifest
format
check-schema-l10n
composer ✅ 104/104
npm ✅ 539/539
app:check-code ⏭️
info.xml
REUSE
PHPUnit
Newman
Playwright
Hydra gates

Quality workflow — 2026-08-29 12:45 UTC

Download the full PDF report from the workflow artifacts.

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