← Recipe: add typed navigation

5. Check and run

luastra/navigation · checked parameters · about 15 minutes
home → workspace → document → Back

Verify both route names and canonical locations after every interaction.

When to use it

Run from navigation-recipe after all three files are saved.

  • check must report result=PASS and test must report tests=1 and passed=1.
  • The Back button is disabled at the first route.
  • An invalid parameter or missing required query produces a bounded unsuccessful mutation instead of a malformed location.

Focused example

luastra check
luastra test
luastra run
# Open the READY URL.
# Press Open workspace: expect /workspaces/7.
# Press Open document: expect /workspaces/7/documents/release-notes?mode=edit.
# Press Back: expect /workspaces/7.

Complete inventory

View all pages in Recipe: add typed navigation
← Previous: 4. Replace tests/smoke.luauNext: 6. Understand and extend →