← Recipe: synchronize Browser and system Back

5. Check and run

luastra/navigation · luastra/host · navigation.history · about 20 minutes
Open detail → Browser Back → Home

The test proves state validation; the browser interaction proves URL and popstate integration in this host.

When to use it

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

  • check and test must report PASS with one passing test.
  • On a mobile host, Back at detail delegates to history; Back at root may request application exit.
  • Desktop, web, Android, and iOS Back behavior must still be verified independently.

Focused example

luastra check
luastra test
luastra run
# Press Open detail: expect #/detail.
# Use Browser Back: expect #/ and Route: home.

Complete inventory

View all pages in Recipe: synchronize Browser and system Back
← Previous: 4. Replace tests/smoke.luauNext: 6. Understand the arbitration →