You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR:root:Frontend error:
Cannot read properties of undefined (reading 'length')
at URL: http://localhost:8181/learner-dashboard
ERROR:root:Frontend error:
Cannot read properties of undefined (reading 'length')
at URL: http://localhost:8181/learner-dashboard
ERROR:root:Frontend error:
Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'length')
TypeError: Cannot read properties of undefined (reading 'length')
at $.<anonymous> (http://localhost:8181/build/webpack_bundles/40.205d3ebc3ff461065133.bundle.js:1:2113735)
at Generator.next (<anonymous>)
at http://localhost:8181/build/webpack_bundles/40.205d3ebc3ff461065133.bundle.js:1:2113013
at new e (http://localhost:8181/build/webpack_bundles/vendors~lightweight_oppia_root~oppia_root.90828e3392d2d8716f63.bundle.js:1966:2940)
at X (http://localhost:8181/build/webpack_bundles/40.205d3ebc3ff461065133.bundle.js:1:2112758)
at $.ngOnInit (http://localhost:8181/build/webpack_bundles/40.205d3ebc3ff461065133.bundle.js:1:2113633)
at http://localhost:8181/build/webpack_bundles/vendors~lightweight_oppia_root~oppia_root.90828e3392d2d8716f63.bundle.js:1499:6672
at http://localhost:8181/build/webpack_bundles/vendors~lightweight_oppia_root~oppia_root.90828e3392d2d8716f63.bundle.js:1499:6715
at _E (http://localhost:8181/build/webpack_bundles/vendors~lightweight_oppia_root~oppia_root.90828e3392d2d8716f63.bundle.js:1499:8044)
at zE (http://localhost:8181/build/webpack_bundles/vendors~lightweight_oppia_root~oppia_root.90828e3392d2d8716f63.bundle.js:1506:4278)
at URL: http://localhost:8181/learner-dashboard
ERROR:root:Frontend error:
Cannot read properties of undefined (reading 'length')
at URL: http://localhost:8181/learner-dashboard
[0-0] Error in"Learner dashboard functionality should display all the topics that are partially learnt or learnt in skill proficiency section, learnt topics in completed goals section and completed stories in completed stories section"
Error: Topic in Skill Proficiency takes too long to appear
Error:
at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at LearnerDashboardPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LearnerDashboardPage.js:177:19)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LearnerDashboardPage.js:20:71
at new Promise (<anonymous>)
��� should display all the topics that are partially learnt or learnt in skill proficiency section, learnt topics in completed goals section and completed stories in completed stories section �� [ /core/tests/webdriverio_desktop/learnerDashboard.js ]
[0-0] FAILED in chrome - /core/tests/webdriverio_desktop/learnerDashboard.js
"spec" Reporter:
------------------------------------------------------------------
Running: chrome (v102.0.5005.61) on LINUX
Session ID: 1529dd6331005f06fff9f1081a06c920
�� /core/tests/webdriverio_desktop/learnerDashboard.js
Learner dashboard functionality
��� should display learners subscriptions
��� should add and remove exploration to play later list
��� should display correct topics in edit goals, learn something new section, current goals and continue where you left off section
��� should display all the topics that are partially learnt or learnt in skill proficiency section, learnt topics in completed goals section and completed stories in completed stories section
3 passing (10m 30.4s)
1 failing
1) Learner dashboard functionality should display all the topics that are partially learnt or learnt in skill proficiency section, learnt topics in completed goals section and completed stories in completed stories section
Error: Topic in Skill Proficiency takes too long to appear
Error:
at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at LearnerDashboardPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LearnerDashboardPage.js:177:19)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LearnerDashboardPage.js:20:71
at new Promise (<anonymous>)
Error: Topic in Skill Proficiency takes too long to appear
Error:
at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at LearnerDashboardPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LearnerDashboardPage.js:177:19)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LearnerDashboardPage.js:20:71
at new Promise (<anonymous>)
Error: Topic in Skill Proficiency takes too long to appear
Error:
at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at LearnerDashboardPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LearnerDashboardPage.js:177:19)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LearnerDashboardPage.js:20:71
at new Promise (<anonymous>)
error properties: Object({ matcherName: '', passed: false, expected: '', actual: '' })
Error: Topic in Skill Proficiency takes too long to appear
Error:
at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at LearnerDashboardPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LearnerDashboardPage.js:177:19)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LearnerDashboardPage.js:20:71
at new Promise (<anonymous>)
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:10:36
This seems to be due to timing issues. The topic in the Skill Proficiency section might be loaded asynchronously, meaning the test is trying to check its presence before it's fully loaded.
A waitFor statement here could be a potential fix if the above assumption is true.
CI Test Type
E2E
Stacktrace
Additional Information
Webdriver screenshot -
Occurrences
13 May 2024 - https://github.com/oppia/oppia/actions/runs/9065338751/job/24907102163
Debugging document link
No response
The text was updated successfully, but these errors were encountered: