hrms-manual/node_modules/eslint-plugin-cypress/docs/rules/no-pause.md
2023-09-06 14:51:44 +07:00

320 B

Do not use cy.pause command

It is recommended to remove cy.pause command before committing the specs to avoid other developers getting unexpected results.

Invalid:

cy.pause();

Valid:

// only the parent cy.pause command is detected
cy.get('selector').pause();