Batoi UIF Docs

Testing and Debugging

Verify UIF routes, Micro Apps, examples, and browser-side behavior before publishing.

Testing and Debugging

Batoi UIF route work should be tested at the PHP, markup, and browser behavior levels.

PHP Checks

Run syntax checks on changed route files.

php -l rad/ms/resources/route.docs.php
php -l rad/ms/platform/route.uif.php

Browser Checks

Verify:

  • route loads
  • CSS is scoped
  • JavaScript initializes once
  • exports work
  • mobile layout is usable
  • buttons do not overflow

Micro App Checks

For every Micro App, test:

  • default state
  • changed input
  • empty input
  • export action
  • error or blocked request path