Cypress E2E tests for RedSys CMS automation.
Stage 1: Basic tests (author, brand, issue-article, full-flow) Stage 2: Conference brand test (creates brand with series for all genres and publishes)
-
Install dependencies:
npm install
-
Configure
cypress.env.jsonwith your credentials (usecypress.env.json.exampleas template)
-
Open Cypress Test Runner:
npm run open
-
Run all tests:
npm test -
Run in headed mode:
npm run test:headed
cypress/
├── e2e/
│ ├── stage-1/ # Basic tests
│ └── stage-2/ # Conference brand test
├── fixtures/
│ └── images/ # Test images
└── support/
├── commands/ # Custom commands (auth, upload)
└── helpers/ # Helper functions
cy.loginAs(userType)- Login as specified user (default: 'admin')cy.uploadByTestId(testId, filePath)- Upload file by test ID