Replies: 1 comment 1 reply
-
We only support user flows with Puppeteer, cypress is not officially supported. The page parameter on There are some potential workarounds if you want to be a trailblazer:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Firstly, thank you all for sharing such an awesome feature.
We are exploring lighthouse user flows and thought it would be good if we could introduce this into our existing cypress tests. So after a test suite has run we would have all the user flows in a lovely report or as data for other uses.
After trying to introduce this we faced a blocker which is around the
startFlow
method it expects the page object and Cypress runs inside an iframe. For fun we did try passing the frame to the method but obviously that did not work. Wondering if there any plans to support working off an iframe or if what we are trying to do is odd.The alternative would be to inject the webvital js script and try with that but we would not get the luxury of the lighthouse report (or can we?).
I saw this question/answer #12340 linking to this issue #11313 but could not pinpoint any work work around iframes or cypress.
Beta Was this translation helpful? Give feedback.
All reactions