How hpi-schul-cloud/e2e-system-tests works
This repository is a Cypress/Cucumber end-to-end test suite for the Schulcloud-Verbund-Software. Its principal workflow is a test run selecting feature scenarios, resolving their steps through Cucumber definitions, and exercising the application in a browser. Supporting Node tasks create test users through the School API, wait for downloaded files, and validate Common Cartridge exports. The graph groups scenarios by domain and shows only relationships explicit in the supplied configuration and source excerpts; page-object usage and application internals are not shown.
Main entry points: cypress.config.js Cypress runner · runSchoolApi.js User creation task · step_definition Step definitions · admin Identity and admin
Components 12
BDD scenarios
- Identity and admin
cypress/e2e/admin - Courses and learning
cypress/e2e/courses - Rooms and boards
cypress/e2e/rooms - Other workflows
cypress/e2e
Cypress support
- Cypress runner
cypress.config.js - Step definitions
cypress/support/step_definition - Page objects
cypress/support/pages
Node tasks
- User creation task
scripts/runSchoolApi.js - Downloaded-file wait
scripts/verifyFile.js - Cartridge validation
scripts/commonCartridgeValidation.js
External systems
- School API
Other components
- Test initiator
Connections 10
- Test initiator → Cypress runner: starts run
- Cypress runner → Identity and admin: selects features
cypress.config.js - Cypress runner → Courses and learning: selects features
cypress.config.js - Cypress runner → Rooms and boards: selects features
cypress.config.js - Cypress runner → Other workflows: selects features
cypress.config.js - Step definitions → Cypress runner: resolves steps
- Cypress runner → User creation task: dispatches task
cypress.config.js - Cypress runner → Downloaded-file wait: dispatches task
cypress.config.js - Cypress runner → Cartridge validation: dispatches tasks
cypress.config.js - User creation task → School API: creates users
scripts/runSchoolApi.js