Skip to content

fix: page view event trigger

VTEX Sites / Lighthouse failed Dec 10, 2024 in 5m 3s

Lighthouse

Lighthouse reports successfully generated

Details

✅ .lighthouseci/ directory writable
✅ Configuration file found
✅ Chrome installation found
✅ GitHub token set
⚠️ Ancestor hash not determinable
✅ LHCI server reachable
✅ LHCI server API-compatible
✅ LHCI server token valid
✅ LHCI server can accept a build for this commit hash
Healthcheck passed!

Running Lighthouse 3 time(s) on https://sfj-59f6820--starter.preview.vtex.app/
Run #1...done.
Run #2...done.
Run #3...done.
Running Lighthouse 3 time(s) on https://sfj-59f6820--starter.preview.vtex.app/4k-philips-monitor-99988213/p
Run #1...done.
Run #2...done.
Run #3...done.
Running Lighthouse 3 time(s) on https://sfj-59f6820--starter.preview.vtex.app/office
Run #1...done.
Run #2...done.
Run #3...done.
Done running Lighthouse!

Checking assertions against 3 URL(s), 9 total run(s)

7 result(s) for https://sfj-59f6820--starter.preview.vtex.app/ :

✘ categories.seo failure for minScore assertion
expected: >=1
found: 0.93
all values: 0.93, 0.93, 0.93

✘ is-crawlable failure for minScore assertion
Page is blocked from indexing
https://developer.chrome.com/docs/lighthouse/seo/is-crawlable/

    expected: >=0.9
       found: 0
  all values: 0, 0, 0

✘ largest-contentful-paint failure for maxNumericValue assertion
Largest Contentful Paint
https://developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint/

    expected: <=2500
       found: 2905.3480000000004
  all values: 2959.546, 2969.987, 2905.3480000000004

✘ uses-rel-preconnect failure for maxLength assertion
Preconnect to required origins
https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/

    expected: <=0
       found: 1
  all values: 1, 1, 1

⚠️ bf-cache warning for minScore assertion
Page prevented back/forward cache restoration
https://developer.chrome.com/docs/lighthouse/performance/bf-cache/

    expected: >=0.9
       found: 0
  all values: 0, 0, 0

⚠️ legacy-javascript warning for maxLength assertion
Avoid serving legacy JavaScript to modern browsers
https://web.dev/publish-modern-javascript/

    expected: <=0
       found: 1
  all values: 1, 1, 1

⚠️ uses-long-cache-ttl warning for maxLength assertion
Uses efficient cache policy on static assets
https://developer.chrome.com/docs/lighthouse/performance/uses-long-cache-ttl/

    expected: <=0
       found: 1
  all values: 1, 1, 1

9 result(s) for https://sfj-59f6820--starter.preview.vtex.app/4k-philips-monitor-99988213/p :

✘ categories.performance failure for minScore assertion
expected: >=0.95
found: 0.93
all values: 0.91, 0.93, 0.93

✘ categories.seo failure for minScore assertion
expected: >=1
found: 0.93
all values: 0.93, 0.93, 0.93

✘ is-crawlable failure for minScore assertion
Page is blocked from indexing
https://developer.chrome.com/docs/lighthouse/seo/is-crawlable/

    expected: >=0.9
       found: 0
  all values: 0, 0, 0

✘ largest-contentful-paint failure for maxNumericValue assertion
Largest Contentful Paint
https://developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint/

    expected: <=2500
       found: 3164.2199999999993
  all values: 3164.2199999999993, 3287.4219999999996, 3172.5849999999996

✘ prioritize-lcp-image failure for minScore assertion
Preload Largest Contentful Paint image
https://web.dev/optimize-lcp/#optimize-when-the-resource-is-discovered

    expected: >=0.9
       found: 0.75
  all values: 0.75, 0.75, 0.75

✘ uses-rel-preconnect failure for maxLength assertion
Preconnect to required origins
https://developer.chrome.com/docs/lighthouse/performance/uses-rel-preconnect/

    expected: <=0
       found: 1
  all values: 1, 1, 1

⚠️ bf-cache warning for minScore assertion
Page prevented back/forward cache restoration
https://developer.chrome.com/docs/lighthouse/performance/bf-cache/

    expected: >=0.9
       found: 0
  all values: 0, 0, 0

⚠️ legacy-javascript warning for maxLength assertion
Avoid serving legacy JavaScript to modern browsers
https://web.dev/publish-modern-javascript/

    expected: <=0
       found: 1
  all values: 1, 1, 1

⚠️ uses-long-cache-ttl warning for maxLength assertion
Uses efficient cache policy on static assets
https://developer.chrome.com/docs/lighthouse/performance/uses-long-cache-ttl/

    expected: <=0
       found: 1
  all values: 1, 1, 1

8 result(s) for https://sfj-59f6820--starter.preview.vtex.app/office :

✘ categories.accessibility failure for minScore assertion
expected: >=1
found: 0.98
all values: 0.98, 0.98, 0.98

✘ categories.seo failure for minScore assertion
expected: >=1
found: 0.93
all values: 0.93, 0.93, 0.93

✘ is-crawlable failure for minScore assertion
Page is blocked from indexing
https://developer.chrome.com/docs/lighthouse/seo/is-crawlable/

    expected: >=0.9
       found: 0
  all values: 0, 0, 0

✘ largest-contentful-paint failure for maxNumericValue assertion
Largest Contentful Paint
https://developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint/

    expected: <=2500
       found: 2863.757
  all values: 3295.907999999999, 2863.757, 3177.0969999999998

✘ list failure for minScore assertion
Lists do not contain only <li> elements and script supporting elements (<script> and <template>).
https://dequeuniversity.com/rules/axe/4.6/list

    expected: >=0.9
       found: 0
  all values: 0, 0, 0

⚠️ bf-cache warning for minScore assertion
Page prevented back/forward cache restoration
https://developer.chrome.com/docs/lighthouse/performance/bf-cache/

    expected: >=0.9
       found: 0
  all values: 0, 0, 0

⚠️ legacy-javascript warning for maxLength assertion
Avoid serving legacy JavaScript to modern browsers
https://web.dev/publish-modern-javascript/

    expected: <=0
       found: 1
  all values: 1, 1, 1

⚠️ uses-long-cache-ttl warning for maxLength assertion
Uses efficient cache policy on static assets
https://developer.chrome.com/docs/lighthouse/performance/uses-long-cache-ttl/

    expected: <=0
       found: 1
  all values: 1, 1, 1

Assertion failed. Exiting with status code 1.

Saving CI project starter.store (895c6919-7c6f-457e-952f-27b01e04b0de)
Saving CI build (e142a3f0-ef5f-4c44-ae54-161c9a70b4f5)
Saved LHR to http://lighthouse-ci.prd-sh-frontendcicd-eks-use1b-z64.us-east-1.eksctl.io.ingress.vtex.io (8785ff35-15bb-43a1-83a3-212d7ff64fb5)
Saved LHR to http://lighthouse-ci.prd-sh-frontendcicd-eks-use1b-z64.us-east-1.eksctl.io.ingress.vtex.io (ab6a7cb1-9b85-4fa6-9004-648b866bb406)
Saved LHR to http://lighthouse-ci.prd-sh-frontendcicd-eks-use1b-z64.us-east-1.eksctl.io.ingress.vtex.io (87fb33e3-fcb3-45fa-9c49-0f5b2ac40f35)
Saved LHR to http://lighthouse-ci.prd-sh-frontendcicd-eks-use1b-z64.us-east-1.eksctl.io.ingress.vtex.io (8922ce25-bd69-4cc8-9486-73cb35c68817)
Saved LHR to http://lighthouse-ci.prd-sh-frontendcicd-eks-use1b-z64.us-east-1.eksctl.io.ingress.vtex.io (1002db85-43d8-41b7-8166-65d9abd4d946)
Saved LHR to http://lighthouse-ci.prd-sh-frontendcicd-eks-use1b-z64.us-east-1.eksctl.io.ingress.vtex.io (e2178543-ee62-406a-b6c3-45f47b9acc20)
Saved LHR to http://lighthouse-ci.prd-sh-frontendcicd-eks-use1b-z64.us-east-1.eksctl.io.ingress.vtex.io (dade5dd7-3972-4958-81a0-0f7dd8450c8d)
Saved LHR to http://lighthouse-ci.prd-sh-frontendcicd-eks-use1b-z64.us-east-1.eksctl.io.ingress.vtex.io (50b3ab4b-3a09-443f-95cf-bbd1fd372011)
Saved LHR to http://lighthouse-ci.prd-sh-frontendcicd-eks-use1b-z64.us-east-1.eksctl.io.ingress.vtex.io (d9c067ff-02b8-48f1-a45f-8b5e2a13d29f)
Done saving build results to Lighthouse CI
View build diff at http://lighthouse-ci.prd-sh-frontendcicd-eks-use1b-z64.us-east-1.eksctl.io.ingress.vtex.io/app/projects/starter.store/compare/e142a3f0-ef5f-4c44-ae54-161c9a70b4f5
GitHub token found, attempting to set status...
GitHub accepted "failure" status for "lhci/url/".
GitHub accepted "failure" status for "lhci/url/office".
GitHub accepted "failure" status for "lhci/url/4k-philips-monitor-99988213/p".

assert command failed. Exiting with status code 1.