oppia icon indicating copy to clipboard operation
oppia copied to clipboard

E2E Flake (Docker): Can't call elementClear on element with selector ".e2e-test-rte" because element wasn't found (Docker Setup)

Open jayam04 opened this issue 9 months ago • 0 comments

CI Test Type

E2E

Stacktrace

Running: chrome (v102.0.5005.61) on LINUX
Session ID: 85be3beedc1a0da300e0128d1a66c6af

» /core/tests/webdriverio_desktop/collections.js
Collections
   ✖ "before all" hook
   ✖ should visit the collection editor
   ✖ should visit the collection player
   ✖ should check for errors in a collection with varying node count

4 failing (3m 21.8s)

1) Collections "before all" hook
Can't call elementClear on element with selector ".e2e-test-rte" because element wasn't found
Error: Can't call elementClear on element with selector ".e2e-test-rte" because element wasn't found

2) Collections should visit the collection editor
Error: Login page did not load
Error: 
    at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:120: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.presenceOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:125:12)
    at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/users.js:66:17)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/users.js:17:58)
    at runMicrotasks (<anonymous>)

Additional Information

This flake occurs in CI with Docker setup. Check #19962, where CI tests are run in Docker setup.

Occurrences

https://github.com/oppia/oppia/actions/runs/8857591455/job/24325260334?pr=19962

Debugging document link

No response

jayam04 avatar May 03 '24 14:05 jayam04