Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
btaillon-coveo committed Aug 22, 2023
1 parent 1c7e8d5 commit c77379c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/samples/headless-ssr/cypress/e2e/ssr.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,14 @@ describe('headless ssr example', () => {
it('should pass the web-vitals audits', () => {
// Note: Thresholds might need to be adjusted as the page tested changes (e.g. more components are added etc)
const VITALS_THRESHOLD: Cypress.ReportWebVitalsConfig = {
thresholds: {fcp: 200, lcp: 200, cls: 0, ttfb: 40, fid: 200, inp: 200},
thresholds: {
fcp: 200,
lcp: 200,
cls: 0,
ttfb: 40,
fid: 200, // TODO: Make sure that the time for re-rendering after the interactions below is properly counted.
inp: 200,
},
};
cy.startVitalsCapture({url: route});
getResultTitles()
Expand Down

0 comments on commit c77379c

Please sign in to comment.