cypress-paws
v1.0.0
Published
Cypress-Paws puts your furry coworkers in the driver’s seat. It wraps cy.wait() to create built-in pet and treat breaks during your test runs.
Readme
🐾 cypress-paws
Description
Cypress Paws lets your furry coworkers finally contribute to your test suite.
It wraps cy.wait() to create built-in pet and treat breaks during your test runs.
Installation
Install via npm:
npm install cypress-paws --save-devOr with Yarn:
yard add cypress-paws devCompatability
- Cypress 10+
- Tested with latest version of Cypress
- Requires a pet-friendly environment
Configuration
Import the plugin in your Cypress support file:
import "cypress-paws";API Reference
cy.paws(ms)
Pauses test execution while your pet receives the attention it deserves.
Parameters:
ms(number): Time in milliseconds to pause the test
Behavior:
- Logs a pet-related status message
- Suggests an action (pet or treat)
- Waits for the specified duration using
cy.wait()
Returns:
- Chainable Cypress command
Usage
cy.visit("/dashboard");
cy.paws(2000);
cy.get("[data-cy=submit]").click();Contributing
Contributions are welcome.
- Open an issue for bugs or feature requests
- Submit pull requests for improvements
- All contributions must pass pet approval before merge
License
MIT License
See the full license text here: https://opensource.org/licenses/MIT
Credits and Acknowledgments
- Inspired by every cat that has walked across a keyboard mid-test and every dog who has waited for a passing test run to get a treat.
- Powered by
cy.wait() - Reviewed by dogs, cats, and other QA specialists
Changelog
v1.0.0
- Initial release
- Added
cy.paws()command - Introduced pet morale monitoring system
- Enabled treat and pet escalation workflows
Support
For issues, questions, or pet-related incidents:
- Open an issue in this repository
- Or consult your nearest furry coworker for immediate assistance
