79228855

Date: 2024-11-27 03:29:39
Score: 1.5
Natty:
Report link

If you want to suppress Cypress logs for a particular route, use

cy.intercept({ ... }, { log: false })
cy.intercept({url: '*'}, (req) => {
  if (!req.url.includes('_nuxt/')) {
    Cypress.log({ name: 'not "/_nuxt/"', message: req.url}) // for demo
  }
}).as('not-nuxt')

cy.intercept(/_nuxt/, {log:false}).as('nuxt')

cy.visit('https://hello-world.example.nuxt.space/')
cy.contains('div', 'Hello Nuxt 3!')

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kan.Uranga