This is an action that allows you to bulk run (50 times) the frontend tests for a specific PR made to Oppia. This can be useful for checking if your changes are breaking or introducing a flake in the frontend tests.
Note
The staus badge (Frontend tests health) for the health of the frontend test for the latest develop branch is displayed above. Every week the health of the frontend tests for the latest develop branch are updated.
Note
If you prefer images you can refer to the GitHub Docs
- Fork the repository
- Go to the actions tab and click the
Frontend tests flake check
action. - Click the
Run worlfow
button. A dialog will open asking the following inputs.Flags
(Optional): The flags to be passed to the frontend tests. Default is--run_minified_tests --skip_install --check_coverage --verbose
.Run frontend tests for a specific PR
(Required): The PR number to run the frontend tests for.Reason
(Optional): The reason for running the frontend tests.Store karma coverage report as an artifact
(Optional): Whether to store the karma coverage report as an artifact.
- Click the
Run worlfow
button (Green in color). - The frontend tests will be run for the given PR number. It will take approximately 30 minutes to run the tests.
- You can check for existing flakes at Oppia.
Follow the instructions provided in the GitHub Docs to sync the fork.
If you have any issues or questions, please create a discussion on the GitHub repository