failed test
🧩 Syntax:
Execution of 1 workers started at 2024-02-12T10:03:05.443Z
2024-02-12T10:03:12.237Z WARN @wdio/config:ConfigParser: No suite was found with name "121.0.6167.160"
[0-0] RUNNING in chrome - /core/tests/webdriverio_desktop/topicAndStoryViewer.js
------------------------------------------------------------------
Suite started :
�� /core/tests/webdriverio_desktop/topicAndStoryViewer.js
Topic and Story viewer functionality
[0-0] Error in ""before all" hook"
Unknown error.
Hook executed : "before all" hook
[0-0] Error in "Topic and Story viewer functionality should play through story and save progress on login."
Error: Lesson track takes too long to be visible.
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:133:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at TopicAndStoryViewerPage.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/TopicAndStoryViewerPage.js:76:19)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/TopicAndStoryViewerPage.js:20:71
at new Promise (<anonymous>)
��� should play through story and save progress on login. �� [ /core/tests/webdriverio_desktop/topicAndStoryViewer.js ]
[0-0] Error in "Topic and Story viewer functionality should dismiss sign-up section and load practice session page uponclicking the practice session card on the last state."
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:131:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:34:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:20:71
at new Promise (<anonymous>)
��� should dismiss sign-up section and load practice session page uponclicking the practice session card on the last state. �� [ /core/tests/webdriverio_desktop/topicAndStoryViewer.js ]
[0-0] Error in "Topic and Story viewer functionality should load the next chapter upon clicking the next chapter card on the last state."
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:131:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:34:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:20:71
at new Promise (<anonymous>)
��� should load the next chapter upon clicking the next chapter card on the last state. �� [ /core/tests/webdriverio_desktop/topicAndStoryViewer.js ]
[0-0] Error in "Topic and Story viewer functionality should check for topic description, stories and revision cards"
Error: Login page did not load
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:121:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.presenceOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:125:12)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:64:17
at Generator.next (<anonymous>)
at fulfilled (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:17:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
��� should check for topic description, stories and revision cards �� [ /core/tests/webdriverio_desktop/topicAndStoryViewer.js ]
[0-0] FAILED in chrome - /core/tests/webdriverio_desktop/topicAndStoryViewer.js
"spec" Reporter:
------------------------------------------------------------------
Running: chrome (v121.0.6167.160) on LINUX
Session ID: 0aaaaca728fe1fc41850d780d1c6c345
�� /core/tests/webdriverio_desktop/topicAndStoryViewer.js
Topic and Story viewer functionality
��� "before all" hook
��� should play through story and save progress on login.
��� should dismiss sign-up section and load practice session page uponclicking the practice session card on the last state.
��� should load the next chapter upon clicking the next chapter card on the last state.
��� should check for topic description, stories and revision cards
5 failing (36.5s)
1) Topic and Story viewer functionality "before all" hook
Login page did not load
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:121:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.presenceOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:125:12)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:64:17
at Generator.next (<anonymous>)
at fulfilled (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:17:58)
at runMicrotasks (<anonymous>)
Error: Login page did not load
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:121:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.presenceOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:125:12)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:64:17
at Generator.next (<anonymous>)
at fulfilled (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:17:58)
at runMicrotasks (<anonymous>)
2) Topic and Story viewer functionality should play through story and save progress on login.
Error: Lesson track takes too long to be visible.
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:133:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at TopicAndStoryViewerPage.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/TopicAndStoryViewerPage.js:76:19)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/TopicAndStoryViewerPage.js:20:71
at new Promise (<anonymous>)
Error: Lesson track takes too long to be visible.
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:133:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at TopicAndStoryViewerPage.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/TopicAndStoryViewerPage.js:76:19)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/TopicAndStoryViewerPage.js:20:71
at new Promise (<anonymous>)
Error: Lesson track takes too long to be visible.
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:133:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at TopicAndStoryViewerPage.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/TopicAndStoryViewerPage.js:76:19)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/TopicAndStoryViewerPage.js:20:71
at new Promise (<anonymous>)
error properties: Object({ matcherName: '', passed: false, expected: '', actual: '' })
Error: Lesson track takes too long to be visible.
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:133:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at TopicAndStoryViewerPage.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/TopicAndStoryViewerPage.js:76:19)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/TopicAndStoryViewerPage.js:20:71
at new Promise (<anonymous>)
3) Topic and Story viewer functionality should dismiss sign-up section and load practice session page uponclicking the practice session card on the last state.
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:131:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:34:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:20:71
at new Promise (<anonymous>)
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
error properties: Object({ matcherName: '', passed: false, expected: '', actual: '' })
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:131:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:34:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:20:71
at new Promise (<anonymous>)
4) Topic and Story viewer functionality should load the next chapter upon clicking the next chapter card on the last state.
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:131:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:34:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:20:71
at new Promise (<anonymous>)
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
error properties: Object({ matcherName: '', passed: false, expected: '', actual: '' })
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:131:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.visibilityOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:34:17)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/action.js:20:71
at new Promise (<anonymous>)
5) Topic and Story viewer functionality should check for topic description, stories and revision cards
Error: Login page did not load
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:121:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.presenceOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:125:12)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:64:17
at Generator.next (<anonymous>)
at fulfilled (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:17:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error: Login page did not load
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:121:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.presenceOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:125:12)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:64:17
at Generator.next (<anonymous>)
at fulfilled (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:17:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error: Login page did not load
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:121:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.presenceOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:125:12)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:64:17
at Generator.next (<anonymous>)
at fulfilled (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:17:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
error properties: Object({ matcherName: '', passed: false, expected: '', actual: '' })
Error: Login page did not load
Error:
at Object.<anonymous> (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:121:39)
at Generator.next (<anonymous>)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
at new Promise (<anonymous>)
at __awaiter (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
at Object.presenceOf (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/waitFor.js:125:12)
at /home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:64:17
at Generator.next (<anonymous>)
at fulfilled (/home/jaimin/Desktop/opensource/oppia/core/tests/webdriverio_utils/users.js:17:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:47
Stopping WebdriverIO Server(pid=101829)...
Stopping GAE Development Server(name="sh", pid=101789)...
Stopping Cloud Datastore Emulator(name="sh", pid=101693)...
Stopping Firebase Emulator(name="sh", pid=101667)...
i emulators: Received SIGTERM for the first time. Starting a clean shutdown.
i emulators: Please wait for a clean shutdown or send the SIGTERM signal again to stop right now.
i Automatically exporting data using --export-on-exit "/home/jaimin/Desktop/opensource/oppia/../firebase_emulator_cache" please wait for the export to finish...
⚠ Emulator UI has exited upon receiving signal: SIGTERM
i Found running emulator hub for project dev-project-id at http://localhost:4400
i Exporting data to: /home/jaimin/Desktop/opensource/firebase_emulator_cache
i emulators: Received export request. Exporting data to /home/jaimin/Desktop/opensource/firebase_emulator_cache.
✔ emulators: Export complete.
✔ Export complete
i emulators: Shutting down emulators.
i ui: Stopping Emulator UI
⚠ ui: Error stopping Emulator UI
i auth: Stopping Authentication Emulator
i hub: Stopping emulator hub
i logging: Stopping Logging Emulator
Stopping ElasticSearch Server(name="sh", pid=101384)...
Stopping Redis Server(name="sh", pid=101376)...
ERROR:root:Portserver failed to shut down after 10 seconds.
Stopping Portserver(name="sh", pid=101372)...