Open
Description
Overview
Shorts are new features on the Bloom app, located on the /courses page, and provide short-form video content. To see an example, navigate to /shorts/what-is-assertiveness-
.
We need to add end-to-end Cypress tests for the Shorts features to ensure their core functionality works as expected. These tests will help catch any regressions in these critical user flows.
Here is the user flow for Shorts:
- User visits the home page
- User clicks on a short
- User plays the short
- User clicks on the related session
- User is prompted to login
- User logs in
- User is redirected to and plays the session
Action Items
- Create new test file in
cypress/integration/tests
calledshorts.spec.ts
- Add necessary test data in
cypress/fixtures/
if required - Ensure tests handle authentication flow, error handling, and timeouts properly.
Resources / Notes
- To run each test individually, command in
/docs/configure-cypress.md
. - Use existing authentication helpers from
cypress/support/
- Follow existing test patterns in the codebase.
- Ensure tests are resilient to UI changes where possible.
- Add appropriate comments and documentation.