oppia: [Flake]: Error: The following Angular modules are extra in the golden file
CI Test Type
Acceptance
Stacktrace
Suite error: top suite
Message:
Error: The following Angular modules are extra in the golden file at the path core/tests/test-modules-mappings/acceptance/logged-out-user/click-all-links-on-get-started-page.txt:
core/templates/pages/about-foundation-page/about-foundation-page.module.ts
Please remove them from the golden file or copy and paste the uploaded github artifact into the golden file location.
Stack:
Error: The following Angular modules are extra in the golden file at the path core/tests/test-modules-mappings/acceptance/logged-out-user/click-all-links-on-get-started-page.txt:
core/templates/pages/about-foundation-page/about-foundation-page.module.ts
Please remove them from the golden file or copy and paste the uploaded github artifact into the golden file location.
at Function.compareCollectedModulesWithGoldenFile (/home/runner/work/oppia/oppia/core/tests/test-dependencies/test-to-modules-matcher.ts:226: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)
7 specs, 0 failures
Finished in 28.134 seconds
Additional Information
No response
Occurrences
Occurred at https://github.com/oppia/oppia/actions/runs/9628714601/job/26557762851
Debugging document link
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (15 by maintainers)
@AkashPaloju Oh sorry docker is not using the python script, overlooked that, can you move the undefined-generated.txt and rename it to whatever your acceptance test is? like logged-out-user/check-all-user-flow-of-donor would be at logged-out-user/check-all-user-flow-of-donor.txt. Will add docker changes to this PR as well which should resolve this issue.