implement-automated-test
Installation
SKILL.md
FOLIO Stripes — Cypress E2E Test Generation
Overview
FOLIO Stripes Testing is a Cypress-based E2E framework for the FOLIO library management system. Tests follow the page object / fragment pattern, use @interactors/html component abstractions, and combine API-driven test data setup with UI validation.
Quick Reference
| Task | Approach |
|---|---|
| Create a new test | New .cy.js spec file per test case |
| Reuse UI interactions | Import/extend fragments from cypress/support/fragments/ |
| Interact with DOM | Prefer interactors over raw selectors |
| Set up test data | API calls in before() hook via cy.getAdminToken() |
| Clean up test data | API deletions in after() hook |
| Assign permissions | cy.createTempUser([Permissions.xyz.gui]) |