test(e2e): live Playwright suite for the hydra-console virtual app (12/12 passing) - #36
Merged
Merged
Conversation
12 specs covering the hydra-console OpenBuild app over the hydra-cache register: dashboard KPI cards and facet-backed charts, the three index pages, ChangeDetail / CycleDetail / FindingDetail widget grids, the audit-trail widget, and manifest-declared widget titles. All assertions target REAL seeded values (spdx-headers, decidesk, p2-agenda-management) rather than element existence, and each test asserts a page-identity marker first so a spec cannot silently pass while rendering the Dashboard. Two known defects are asserted honestly rather than worked around: the three command buttons are verified to RENDER but are never clicked, because an OpenConnector endpoint cannot authenticate a Nextcloud session (ConductionNL/openconnector#1068); and the hermiq agent leaf widget is asserted to paint nothing, because nextcloud-vue beta.221 never calls mount() for a renderMode:'mount' leaf (hermiq#42/#44). Verified: 12/12 passed against a live instance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
12 live Playwright specs for the
hydra-consolevirtual app, covering the dashboard (KPI cards + facet-backed charts), the three index pages, the ChangeDetail / CycleDetail / FindingDetail widget grids, the audit-trail widget, and manifest-declared widget titles.Verified: 12/12 passed against a live instance.
Two design choices worth reviewing
gotoand then asserting on whatever rendered is how a spec passes while silently testing the Dashboard — a failure mode this fleet has hit before.spdx-headers,decidesk,p2-agenda-management), never bare element existence. A selector matching an empty container is worse than no test.Known defects asserted honestly, not worked around
mount()for arenderMode:'mount'leaf (hermiq#42/fix(schema-designer): save and delete by numeric id; un-quarantine the e2e suite #44).Context
Part of the hydra-console chain: ConductionNL/hydra#384, ConductionNL/hermiq#52, ConductionNL/openregister#2160, ConductionNL/openconnector#1067. The app and its
hydra-cacheregister are built live; this suite is what proves the read plane actually works rather than merely validating.Note: the app under test is currently
status: draftpending the command-path blockers above.🤖 Generated with Claude Code