I’m currently working on meeting the criteria for the “Built for Shopify” designation but I’m running into some issues in the testing of performance and accessibility.
I’m trying to use Lighthouse and Wave for the testing, but my app is embedded, and the tools are reporting the performance and accessibility of the parent Shopify window, not my embedded app in the iframe. From what I’ve read, these tools can’t really test properly when iframes are used. The tools are reporting issues with the page, but they’re in the parent window. I used to be able to just turn off the “forceRedirect” and test, but since the change to session tokens, I can’t do that anymore because the app can’t load unless the parent window loads it with the session token.
Is there a way to test an embedded app while it’s in the iframe using Lighthouse and Wave without getting results from the parent frame?
Also, I’m wondering how the Shopify tool works for testing performance. Is it possible I’m getting wrongly flagged for admin performance because the tools aren’t seeing the iframe properly? As an example, when I run Lighthouse, the LCP is flagged as high, but it’s because of Javascript in the Shopify parent window, not the iframe. Because of this, I’m unable to meet the automated requirements and I’m concerned that it’s not only my embedded app that’s the issue.
Thanks for any insights anyone can provide ![]()