Fix fatal error that occurred when viewing quiz attempts with deleted questions. #4000
Annotations
10 errors and 2 warnings
Run test suite:
tests/e2e/tests/page-restrictions/course.test.js#L1034
Error: Error: failed to find element matching selector ".entry-content #enrolled-user-content"
at ElementHandle.$eval (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/JSHandle.ts:1034:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/lifterlms/lifterlms/tests/e2e/tests/page-restrictions/course.test.js:41:12)
|
Run test suite:
tests/e2e/tests/page-restrictions/course.test.js#L1034
Error: Error: failed to find element matching selector ".wp-block-post-title"
at ElementHandle.$eval (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/JSHandle.ts:1034:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/lifterlms/lifterlms/tests/e2e/tests/page-restrictions/course.test.js:50:12)
|
Run test suite:
tests/e2e/tests/page-restrictions/course.test.js#L62
Error: expect(received).toBe(expected) // Object.is equality
Expected: "http://localhost:8080/lesson/regular/"
Received: "http://localhost:8080/lesson/has-prereq/"
at Object.<anonymous> (/home/runner/work/lifterlms/lifterlms/tests/e2e/tests/page-restrictions/course.test.js:62:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Run test suite:
tests/e2e/tests/page-restrictions/course.test.js#L813
TimeoutError: waiting for selector `#llms_mark_complete` failed: timeout 30000ms exceeded
at new WaitTask (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28)
at DOMWorld.waitForSelectorInPage (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22)
at Object.internalHandler.waitFor (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19)
at DOMWorld.waitForSelector (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25)
at Frame.waitForSelector (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47)
at Page.waitForSelector (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3222:29)
at click (/home/runner/work/lifterlms/lifterlms/packages/llms-e2e-test-utils/src/click.js:11:13)
at clickAndWait (/home/runner/work/lifterlms/lifterlms/packages/llms-e2e-test-utils/src/click-and-wait.js:15:8)
at Object.<anonymous> (/home/runner/work/lifterlms/lifterlms/tests/e2e/tests/page-restrictions/course.test.js:73:22)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Run test suite:
tests/e2e/tests/page-restrictions/course.test.js#L91
Error: expect(received).toBe(expected) // Object.is equality
Expected: "http://localhost:8080/course/restrictions-testing/"
Received: "http://localhost:8080/lesson/has-drip/"
at Object.<anonymous> (/home/runner/work/lifterlms/lifterlms/tests/e2e/tests/page-restrictions/course.test.js:91:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Run test suite:
tests/e2e/tests/page-restrictions/course.test.js#L1034
Error: Error: failed to find element matching selector ".entry-content #free-lesson-content"
at ElementHandle.$eval (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/JSHandle.ts:1034:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/lifterlms/lifterlms/tests/e2e/tests/page-restrictions/course.test.js:101:12)
|
Run test suite:
tests/e2e/tests/page-restrictions/course.test.js#L1034
Error: Error: failed to find element matching selector ".wp-block-post-title"
at ElementHandle.$eval (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/JSHandle.ts:1034:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/lifterlms/lifterlms/tests/e2e/tests/page-restrictions/course.test.js:110:12)
|
Run test suite:
tests/e2e/tests/page-restrictions/course.test.js#L1034
Error: Error: failed to find element matching selector ".entry-content #non-enrolled-user-content"
at ElementHandle.$eval (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/JSHandle.ts:1034:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/lifterlms/lifterlms/tests/e2e/tests/page-restrictions/course.test.js:136:12)
|
Run test suite:
tests/e2e/tests/page-restrictions/course.test.js#L162
Error: expect(received).toBe(expected) // Object.is equality
Expected: "http://localhost:8080/course/restrictions-testing/"
Received: "http://localhost:8080/lesson/regular/"
at Object.<anonymous> (/home/runner/work/lifterlms/lifterlms/tests/e2e/tests/page-restrictions/course.test.js:162:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
|
Run test suite:
tests/e2e/tests/page-restrictions/course.test.js#L1034
Error: Error: failed to find element matching selector ".entry-content #free-lesson-content"
at ElementHandle.$eval (/home/runner/work/lifterlms/lifterlms/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/JSHandle.ts:1034:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/lifterlms/lifterlms/tests/e2e/tests/page-restrictions/course.test.js:172:12)
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Setup Environment
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading