test(e2e): verify the imported catalog end to end #35
No reviewers
Labels
No labels
automerge
bug
dependencies
duplicate
help wanted
invalid
lang
rust
migrations
opencode
question
security
type
documentation
type
enhancement
type
maintenance
type
refactor
vulnerability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Personal/backstage!35
Loading…
Reference in a new issue
No description provided.
Delete branch "test/verify-catalog-23"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds automated end-to-end verification of the imported catalog and fixes the catalog data it exposed.
packages/app/e2e-tests/catalog-api.test.tssigns in through the guest provider and checks representative Forgejo components for project slug, ownership, system membership, and links, plus the recurring-events OpenAPI definition and itsprovidesApirelation.packages/app/e2e-tests/catalog-browser.test.tscovers component links and navigation from the API list to the rendered definition.packages/app/e2e-tests/fixtures/catalog, loaded through the newCATALOG_DIRoverride inapp-config.yaml. No Forgejo token or live data is required;E2E_CATALOG_DIRpoints the suite at another catalog.PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH, so Playwright does not use a downloaded browser that cannot run on NixOS.martin/*toPersonal/*), owners useuser:default/martininstead of the nonexistentmartingroup, and OpenAPI links usePersonal/recurring-eventsonmain.Validation
Run in
nix develop:yarn prettier:checkyarn lint:allyarn tscyarn test:ci --runInBandyarn build:backendyarn test:e2e --reporter=line— 5 passed (app, 2 API, 2 browser)Closes #23
6e9276516972946eb681