Skip to content

Dashboard-widget e2e tests fail against current dev instance #322

Description

@rubenvdlinde

Summary

Running the Playwright e2e suite (--project=chromium) against a live instance, 31 of 41 tests fail (10 pass). The failures cluster in the dashboard-widget interaction specs:

  • image-widget.spec.ts, label-widget.spec.ts, text-display-widget.spec.ts
  • wave3-runtime-shell.spec.ts (cog menu, sidebar→GET /api/dashboard/{id} switching)
  • spec-coverage/spec-coverage.spec.ts (label/size/placeholder scenarios)

All fail on expect(locator).toBeVisible() — the widget add/edit/render runtime doesn't behave as the specs expect on this instance. This is consistent with the known stale @nextcloud/vue dashboard widget runtime issue (CnWidgetGrid dropping widget.dataSource; useDataSource not resolving the function-form arg) — the published nc-vue the instance serves is behind the fixes.

Gate-19 e2e coverage is 100% (64 covered + 2318 excluded, 0 uncovered); this is an execution/runtime problem, not a coverage gap.

Suspected cause / next steps

  • Confirm the served @nextcloud/vue version includes the dashboard dataSource/useDataSource fixes; bump if stale.
  • Re-run the suite once the widget runtime renders correctly; triage any residual failures.
  • Login globalSetup already waits for #header (45s) and is fine; the failures are post-login widget rendering.

Filed from local e2e validation on 2026-06-04 (env: slow shared dev instance).


Gemigreerd van Codeberg — oorspronkelijk Conduction/launchpad#77, geopend door rubenvdlinde op 2026-06-04.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

triageAwaiting triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions