oppia: [Flake]: Cannot read properties of undefined (reading 'waitForDisplayed') in contributorAdminDashboard
CI Test Type
E2E
Stacktrace
� /core/tests/webdriverio_desktop/contributorAdminDashboard.js
Contributor Admin Dashboard
��� "before all" hook
��� <unknown test>
2 failing (3m 48.5s)
1) Contributor Admin Dashboard "before all" hook
Cannot read properties of undefined (reading 'waitForDisplayed')
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:130:17)
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 Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/action.js:36:17)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/action.js:20:71
at new Promise (<anonymous>)
2) Contributor Admin Dashboard <unknown test>
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
TypeError: Cannot read properties of undefined (reading 'waitForDisplayed')
at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:130:17)
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 Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/action.js:36:17)
at Generator.next (<anonymous>)
at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/action.js:20:71
at new Promise (<anonymous>)
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:03:54
Additional Information
No response
Occurrences
Occurred at: https://github.com/oppia/oppia/actions/runs/10772344989/job/29871174298
Debugging document link
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 35 (35 by maintainers)
Commits related to this issue
- Fixes #20958: Fixes `wait timeout` flake in contributorAdminDashboard (#21083) fixed flake 20958 — committed to spriyatam28/oppia by masterboy376 2 years ago
- Fixes #20958: Fixes `wait timeout` flake in contributorAdminDashboard (#21083) fixed flake 20958 — committed to oppia/oppia by masterboy376 2 years ago
- Fix #20958 partially: improve error message for nonexistent elements and simplify CD admin e2e test. — committed to oppia/oppia by seanlip 2 years ago
- Fix #20958 partially: improve error message for nonexistent elements and simplify CD admin e2e test. (#21147) — committed to alrikmunoz/oppia by seanlip 2 years ago
- Revert "Fix #20958 partially: improve error message for nonexistent elements …" This reverts commit 3e67410589c56b9af0988c452eb95f55627051b2. — committed to oppia/oppia by imchristie 2 years ago
- Fix #20958: Waiting for element to appear before checking for its existance (#21186) * now the test waits for the review button to appear * fixed linting issue — committed to oppia/oppia by masterboy376 2 years ago
Hello @Akhilesh-max, I will try my best. Actually, for most of the last week I was blocked by https://github.com/oppia/oppia/discussions/21064. And only this morning I managed to find a way around this blocker. I will update you of the progress on this issue and will try to open PR within a day or two. Thanks
@masterboy376 Thanks for looking into this. Could you please check and see whether this issue is reproducible outside the CI test framework (i.e. start a local server, turn the dashboard on, and see if the option is visible or not after manually performing the actions in the test?)
Thanks!