-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FE Flake]: Contributor dashboard page Expected 'Topic 1' to be undefined. #16529
Comments
@sagangwee This flake seems to have been introduced via #15841 Can you please open a fix for this? You solve this by either splitting the tests using a nested describe function where |
@heyimShivam Should oppia/core/templates/pages/contributor-dashboard-page/contributor-dashboard-page.component.spec.ts Line 108 in 7b5841e
Since |
returnValue
's in Contributor dashboard page spec file.
@gp201 Hmmm I would have expected the existing code to override the currently set return value on the spy. Does the flake have something to do with the |
Closing because this flake did not appear in 120 consecutive runs on develop: |
Reappeared in develop once on 10 March 2023; commit number: e86d2a3 GitHub Action run |
Stacktrace
This seems to have been caused due to the spy getting defined twice.
once in the
beforeEach
oppia/core/templates/pages/contributor-dashboard-page/contributor-dashboard-page.component.spec.ts
Lines 83 to 86 in 7b5841e
again in the test:
oppia/core/templates/pages/contributor-dashboard-page/contributor-dashboard-page.component.spec.ts
Lines 164 to 165 in 7b5841e
Additional Information
Seeds:
Complete Log
Debug Doc
The text was updated successfully, but these errors were encountered: