Skip to content

test: cover dashboard lint and e2e validation#249

Merged
github-actions[bot] merged 1 commit into
mainfrom
spboyer/testing-docs-sweep
May 20, 2026
Merged

test: cover dashboard lint and e2e validation#249
github-actions[bot] merged 1 commit into
mainfrom
spboyer/testing-docs-sweep

Conversation

@spboyer

@spboyer spboyer commented May 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Add the missing dashboard ESLint dependencies and flat config so npm run lint is executable and meaningful.
  • Fix existing dashboard lint findings without weakening lint rules.
  • Make the dashboard Playwright preview port configurable to avoid local port collisions during e2e runs.

Validation

  • go mod verify
  • go mod download
  • cd web && npm ci --silent && npm run build
  • test -z "$(gofmt -l .)"
  • go vet ./...
  • go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
  • go tool cover -func=coverage.txt | tail -1 (total: 78.5%)
  • go build -v -o waza ./cmd/waza && ./waza --version
  • ./waza run ./examples/code-explainer/eval.yaml --verbose (accepted expected eval failure exit code 1)
  • go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.10.1 run ./... --timeout=5m
  • cd site && npm ci --silent && npm run build
  • cd web && npm run lint
  • cd web && PLAYWRIGHT_PORT=4174 npx playwright test --project=chromium
  • cd site && npm run test:e2e

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot enabled auto-merge (squash) May 20, 2026 17:44
@github-actions github-actions Bot merged commit 63c4908 into main May 20, 2026
7 checks passed
@spboyer spboyer mentioned this pull request May 20, 2026
5 tasks
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