Repository navigation
Testing
Commands use the host-development tools. See Local development for prerequisites.
From the repo root:
npm --prefix frontend test -- --watch=false
npm --prefix frontend run buildTests use Vitest through Angular. The production output is frontend/dist/b26, not dist/b26/browser.
The current board-layout CSS warning does not fail the build. See Troubleshooting.
cd backend
./mvnw testUse Java 21. These tests normally use H2 and generated schemas; they do not by themselves prove PostgreSQL migrations work.
Start a disposable PostgreSQL database, then run from backend/:
POSTGRES_TEST_URL='jdbc:postgresql://localhost:5432/b26_test' POSTGRES_TEST_USER=postgres POSTGRES_TEST_PASSWORD=postgres ./mvnw testThe database in that example must already exist, and the credentials must match it. The PostgreSQL tests create and drop randomly named schemas; use a test database whose user can create schemas. They do not clean the connection's default schema.
Without POSTGRES_TEST_URL, those tests are skipped. They cover fresh migrations, upgrades from historical versioned migrations, real-database onboarding, schema validation, and simultaneous editor saves.
.github/workflows/ci.yml runs backend tests with PostgreSQL 16, frontend tests, and a production frontend build on pushes and pull requests. The Docker image build skips backend tests, so image creation alone is not a replacement for CI.
- Start the app and check
/actuator/healthon port 8080. - Sign up; confirm an owned starter board opens.
- Add a widget and save; refresh and confirm it persists.
- Open the same board in two tabs, enter Edit in both, then save one. Saving the older draft in the other should report a conflict and retain its draft.
- Make an unsaved edit and try navigating to another board; the discard prompt should appear.
- Set another owned board as main; check
/<username>. - Sign in as one user and visit another user's public URL; it should remain on the visited page.
Last implementation verification before this wiki refresh: 45 backend tests and 37 frontend tests passed, along with the production build. Treat future CI results as the current authority.
Start here · Troubleshooting · Source repository
Reviewed October 6, 2026 against b8deab3. Feature status distinguishes working behavior from unfinished UI.