Cypress - Plugins and Ecosystem
Which of the following is the correct way to call a task named
readFile in a Cypress test?readFile in a Cypress test?cy.task('taskName').cy.readFile is a different command for reading files in the browser context, not tasks. The others are invalid commands.cy.task() to call tasks [OK]cy.task('name') to run tasks [OK]cy.readFile instead of cy.taskcy.nodeTask15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions