oppia: [Flake]: Error: The following Angular modules are extra in the golden file at the path core/tests/test-modules-mappings/acceptance/topic-manager/edit-and-preview-a-subtopic.txt:
CI Test Type
Acceptance
Stacktrace
Error: The following Angular modules are extra in the golden file at the path core/tests/test-modules-mappings/acceptance/topic-manager/edit-and-preview-a-subtopic.txt:
core/templates/pages/skill-editor-page/skill-editor-page.import.ts
Please remove them from the golden file or copy and paste the uploaded github artifact into the golden file location. If the test was run locally, the golden file has been updated with the collected modules automatically.
at Function.compareCollectedModulesWithGoldenFile (/home/runner/work/oppia/oppia/core/tests/test-dependencies/test-to-modules-matcher.ts:238:13)
at UserContext.<anonymous> (/home/runner/work/oppia/oppia/core/tests/puppeteer-acceptance-tests/specs/helpers/reporter.ts:277:26)
at <Jasmine>
at processImmediate (node:internal/timers:464:21)
Additional Information
It mentions that a specific angular module is extra in the golden file, but actually the test would start failing deterministically without that module as the module is indeed used in the test.
Occurrences
https://github.com/oppia/oppia/actions/runs/9910480339/job/27382261044
Debugging document link
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (21 by maintainers)
Commits related to this issue
- [GSoC' 24] Fixes #20671 and general M1 fixes. (#20657) * Updates * Updates * Updates * Debugging * Updates * Updates * Updates * Updates * Updates * Updates — committed to oppia/oppia by jnvtnguyen 2 years ago
- [GSoC' 24] Fixes #20671 and general M1 fixes. (#20657) * Updates * Updates * Updates * Debugging * Updates * Updates * Updates * Updates * Updates * Updates — committed to HardikGoyal2003/oppia by jnvtnguyen 2 years ago
- [GSoC' 24] Fixes #20671 and general M1 fixes. (#20657) * Updates * Updates * Updates * Debugging * Updates * Updates * Updates * Updates * Updates * Updates — committed to imchristie/oppia by jnvtnguyen 2 years ago
- Fix #20221: Enforce strict typescript checks on puppeteer acceptance tests (#20931) * Added test for i18n format * Question Admin * Added Functions for Question Admin * Added Functions for Q... — committed to oppia/oppia by imchristie 2 years ago
- Fix #20221: Enforce strict typescript checks on puppeteer acceptance tests (#20931) * Added test for i18n format * Question Admin * Added Functions for Question Admin * Added Functions for Q... — committed to Hampuztt/oppia by imchristie 2 years ago
- Fix #20011: Migrate Acceptance Test to Jest and Add Screenshot Testing (#20945) * Added test for i18n format * Question Admin * Added Functions for Question Admin * Added Functions for Question Ad... — committed to oppia/oppia by imchristie 2 years ago
- Remove detectOpenHandles and forceExit when running acceptance tests (#21493) * Added test for i18n format * Question Admin * Added Functions for Question Admin * Added Functions for Question Admi... — committed to oppia/oppia by imchristie 2 years ago
@Akhilesh-max Ok thanks, looks good to me, think this is a good solution until we find a better way to capture URLs that are opened but not completely loaded.
Sorry will try to look at this today, was out most of the day yesterday.