It's my first time using cypress-axe and I am trying to set up the extra logs for violationCallback. I am new to development, so bear with me if this is not the right place to post, or if I need to clarify more info. I will do my best to give as much information as possible. Please let me know if I can improve my github issue posting.
Cypress version: Version 13.6.0 (13.6.0.2421135)
js/ts: Typescript
Error message: The 'task' event has not been registered in the setupNodeEvents method. You must register it before using cy.task()
// ***********************************************************
// This example support/e2e.ts is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
require('./commands')
import 'cypress-axe'
Hi all,
It's my first time using cypress-axe and I am trying to set up the extra logs for violationCallback. I am new to development, so bear with me if this is not the right place to post, or if I need to clarify more info. I will do my best to give as much information as possible. Please let me know if I can improve my github issue posting.
Cypress version: Version 13.6.0 (13.6.0.2421135) js/ts: Typescript Error message:
The 'task' event has not been registered in the setupNodeEvents method. You must register it before using cy.task()
Screenshot:
cypress.config.ts
spec file
tsconfig.json
e2e.ts