Hi, I'm trying to create a custom command, but the...
# e2e-testing
b
Hi, I'm trying to create a custom command, but the command is not getting fired or recognized. support/commands.js:
Cypress.Commands.add('myCommand', () => {console.log("fired"})
support/index.js: (According to documentation this should not be necessary)
import './commands.js';
If I do the above the command is not recognized. If I add the import to support/e2e.js then it's recognized but is not firing. Anything I'm missing?