enableSeoForParity function
void
enableSeoForParity()
Prepares the SEO pipeline for a parity test.
Call this before pumpWidget. In a widget test kIsWeb is
false, so the mirror is off by default and every .seo() call is a
no-op; without this the captured tree is empty.
Implementation
void enableSeoForParity() {
SeoController.debugForceEnable = true;
SeoController.instance.resetForTest();
}