You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and also creating more complex flows with many clicks I'm not able to retrieve the calculated metrics for Core Web Vitals FID and INP while the journey is successful and can be also observed as doing, what it should do in the cypress browser view.
For the example I get not even anything:
log-------- cy.vitals() --------
14
loglcp web-vital could not be calculated, and threshold was 2500. Skipping...
15
logfid web-vital could not be calculated, and threshold was 100. Skipping...
16
logcls web-vital could not be calculated, and threshold was 0.1. Skipping...
logfcp web-vital could not be calculated, and threshold was 1800. Skipping...
18
logttfb web-vital could not be calculated, and threshold was 600. Skipping...
19
loginp web-vital could not be calculated, and threshold was 500. Skipping...
20
log-----------------------------
For other scenarios I get at least other metrics while FID and INP cannot be calculated:
log-------- cy.vitals() --------
77
loglcp web-vital is 595.2000000029802, and threshold was 2500. Pass.
78
logfid web-vital could not be calculated, and threshold was 100. Skipping...
79
logcls web-vital is 0.6627196228997799, and is over the 0.1 threshold. Fail.
80
logfcp web-vital is 561.8999999910593, and threshold was 1800. Pass.
81
logttfb web-vital is 38.599999994039536, and threshold was 600. Pass.
82
loginp web-vital could not be calculated, and threshold was 200. Skipping...
83
log-----------------------------
Tested via npx cypress open and npx cypress run --browser chrome --specs ...
If I use cy.vitals() + providing some valid elements in firstInputSelector, it can calculate both FID & INP. Looks like that there is not too much necessary to create sufficient interaction.
Issue
Setup:
Details
Starting with this example
https://github.com/cmorten/cypress-web-vitals/blob/main/examples/13.x/cypress/e2e/journey.cy.js
and also creating more complex flows with many clicks I'm not able to retrieve the calculated metrics for Core Web Vitals FID and INP while the journey is successful and can be also observed as doing, what it should do in the cypress browser view.
For the example I get not even anything:
For other scenarios I get at least other metrics while FID and INP cannot be calculated:
Tested via npx cypress open and npx cypress run --browser chrome --specs ...
If I use cy.vitals() + providing some valid elements in firstInputSelector, it can calculate both FID & INP. Looks like that there is not too much necessary to create sufficient interaction.
Maybe If I will be able to retrieve metrics for the example
https://github.com/cmorten/cypress-web-vitals/blob/main/examples/13.x/cypress/e2e/journey.cy.js
I can adapt other tests?
Thank you!
The text was updated successfully, but these errors were encountered: