overlayFoundationConformance#
void overlayFoundationConformance({
required String suiteName,
required dynamic Function(dynamic child) wrapApp,
});
Conformance suite for anchored_overlay_engine primitives.
Goal: make the overlay lifecycle + policies verifiable and stable.
This suite is intentionally small and focused on MUST behaviors:
- lifecycle phases & fail-safe close (no "stuck closing")
- dismiss policies (outside tap / escape / focus loss)
- focus policies (initialFocus + restoreOnClose)