oppia: [CI Failure]: Fix all failing E2E/Acceptance Test suites
If you want to take any sub-task, please leave a comment below. You should add how you would fix it - you can do this by showing code, or creating a draft PR.
In CI, we got a bug that allowed pushing buggy code. This broke some of the test suites (E2E/Acceptance). To fix this bug immediately, we have removed failing test suites from being required for PR to merge.
We need to fix these broken test suites.
E2E Test Suites Check https://github.com/oppia/oppia/issues/22448#issuecomment-2816070985 for error messages.
- contributorDashboard (M1.10 for Acceptance tests project) @jayam04 https://github.com/oppia/oppia/actions/runs/14396372675/job/40373071754?pr=22428
- contributorAdminDashboard (M1.11 for Acceptance tests project) @jayam04 https://github.com/oppia/oppia/actions/runs/14396372675/job/40373072350?pr=22428
- explorationTranslationTab https://github.com/oppia/oppia/actions/runs/14396372675/job/40373077141?pr=22428
- fileUploadFeatures (M1.12 for Acceptance tests project) @jayam04 https://github.com/oppia/oppia/actions/runs/14396372675/job/40373079475?pr=22428
Acceptance Test Suites Check https://github.com/oppia/oppia/issues/22448#issuecomment-2816083091 for error messages
- exploration-editor/manage-exploration-misconceptions https://github.com/oppia/oppia/actions/runs/14396372675/job/40373074107?pr=22428 @ojasvi004 https://github.com/oppia/oppia/pull/22669
- exploration-editor/modify-translations-through-modal https://github.com/oppia/oppia/actions/runs/14396372675/job/40373074649?pr=22428 @ojasvi004 https://github.com/oppia/oppia/pull/22669
- exploration-editor/publish-the-exploration-with-an-interaction https://github.com/oppia/oppia/actions/runs/14396372675/job/40373075190?pr=22428 @KartikSuryavanshi https://github.com/oppia/oppia/pull/22224#issuecomment-2826150713
- logged-out-user/play-through-lesson-while-getting-feedback-and-hints https://github.com/oppia/oppia/actions/runs/14396372675/job/40373088232?pr=22428 @jayam04 https://github.com/oppia/oppia/pull/22543
- practice-question-submitter/submit-practice-questions-with-different-interactions-and-difficulties https://github.com/oppia/oppia/actions/runs/14396372675/job/40373093994?pr=22428 @ojasvi004 https://github.com/oppia/oppia/pull/22669
Reproduction On CI:
- remove test suite from
broken_suitesdict in.github/workflows/full_stack_tests.yml
Locally:
- run E2E/Acceptance test using
python -m srcipts.run_acceptance_tests --suite=<SUITE>orpython -m scripts.run_e2e_tests --suite=<SUITE>
Enabling test suites in CI
Once the test suite is fixed, remove it from broken_suites dict in .github/workflows/full_stack_tests.yml
- After all test suites are fixed, remove
check_skipstep in the same workflow.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 17 (15 by maintainers)
@ojasvi004 Can you share a debugging doc? This is mandatory if you want help.
Thanks!
@ojasvi004 It’s fine for me, I think my PR https://github.com/oppia/oppia/pull/22543 will be merged in a day or two – only final review by dev-workflow-team is pending.
@ojasvi004 Acceptance test
exploration-editor/publish-the-exploration-with-an-interactionhas more issues than conflicts withQuestionSubmitter. A good thing is @KartikSuryavanshi has a fix, and already has open PR.Just letting you know.
/cc @KartikSuryavanshi
Edit: Link to PR: https://github.com/oppia/oppia/pull/22224
@ojasvi004 I have checked, and yes some tests indeed pass when QuestionSubmitter’s methods are excluded. If you open a PR, please refractor all methods except
editDefaultResponseFeedbackbecause I have already fixed it in PR #22543 and it will create merge conflicts.@ojasvi004 yes, you are right. I have already done a similar thing for the 4th Acceptance test that’s failing in the following PR: https://github.com/oppia/oppia/pull/22543. You are also right about QustionSubmitter and I have already filed an issue https://github.com/oppia/oppia/issues/22539.
While my approach was to duplicate functions, you approach of renaming the function is better. To test if other failing acceptance test passes you can simply remove
QuestionSubmitter()from UserFactory and check if acceptance tests pass.For E2E tests, while common, there is some other issue.