Skip to content

test(ui): cover the web console in the dashboard end-to-end suite - #1347

Merged
TheMeinerLP merged 1 commit into
mainfrom
test-e2e-console-cli
Nov 23, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
test-e2e-console-cli

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

The dashboard console now talks to the server over the console socket, but the browser test suite never opened that tab, so nothing proved an operator could actually use it. This adds a short scenario: the operator types status and reads the health report, then types token-revoke for the bootstrap token, is asked to confirm, declines, and finds that the command did not run and the token still works.

No product code changes, tests only.

Type of change

  • test - tests only

How was this tested?

  • Built the server jar through heavy (:reposilite-backend:shadowJar, :reposilite-plugins:nexus-import-plugin:shadowJar).
  • npx playwright test e2e/console.spec.ts --project=chromium --workers=2: 2 passed.
  • npm run eslint and npm run typecheck clean; vitest on src/anchors and src/style-gate: 230 passed.

Checklist

  • Commit messages follow the Conventional Commits convention documented in CLAUDE.md (English, imperative, one of feat, fix, docs, refactor, test, build, ci, chore, perf)
  • Tests cover the change, or the change is not testable and I explained why above
  • ./gradlew build passes locally (not applicable, frontend test file only)
  • Documentation and configuration samples are updated if the change is user-facing (not user-facing)
  • Existing copyright headers are preserved; new files carry the appropriate header
  • No credentials, tokens or personal data are included in the diff

The console tab moved to the websocket protocol, but the browser suite
never opened it. Run status through the page and check its report,
then decline a token-revoke confirmation and check that the command
did not run and the bootstrap token still authorizes a request.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP TheMeinerLP added the ci:e2e Run the dashboard end-to-end tests label Nov 23, 2026
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 58308a0 Nov 23, 2026
54 checks passed
@TheMeinerLP
TheMeinerLP deleted the test-e2e-console-cli branch November 23, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:e2e Run the dashboard end-to-end tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant