[Feature Request]: Remove E2E test collections.js and learnerFlow.js
#24.491 aberto em 14 de jan. de 2026
Description
Is your feature request related to a problem? Please describe.
We are currently migrating from E2E tests to Acceptance tests, however, some of the E2E tests are still not covered by Acceptance tests. So, we need to write acceptance tests covering uncovered E2E tests and delete the corresponding E2E test.
Acceptance test "CC.1. Create a collection" is created to cover the features currently covered by E2E test "collections".
Acceptance test "LO.13. View a collection" is created to cover the features currently covered by E2E test "learnerFlow".
Describe the solution (or solutions) you'd like
Write the new acceptance (CC.1. Create a collection) test and delete the existing E2E test (collections).
Steps to follow:
- Create a new acceptance tests for collection creator and logged out learner. (test-suite file should be named "create-a-collection.spec.ts").
- Write the acceptance test based on "CC.1. Create a collection" from E2E Migration Doc. And WIP Sheet (External Users)
- Add acceptance test to acceptance.json (https://github.com/oppia/oppia/blob/develop/core/tests/ci-test-suite-configs/acceptance.json).
- Run newly created test-suite locally and ensure it passes.
- Push the code to your repo-fork.
- Stress test the new test-suite to check for flakes. (In your Oppia repo fork, go to Actions > Stress Test Acceptance Test > Run Workflow > branch: <YOUR_FEATURE_BRANCH_NAME>, runs: <ATLEAST_20>, test-suite: <TEST_SUITE_NAME_USED_IN_ACCEPTANCE.JSON>.
- Ensure that all jobs passes in the above workflow run.
- Remove E2E test, collections.js and learnerFlow.js.
- Open a PR :)
Other References: puppeteer-acceptance-tests is the base folder for acceptance tests. Acceptance tests: https://github.com/oppia/oppia/wiki/Acceptance-Tests
Describe alternatives you've considered and rejected
No response
Additional context
No response