Skip to content

New Feature: Auto-generation of test code #61

New Feature: Auto-generation of test code

New Feature: Auto-generation of test code #61

Triggered via pull request August 29, 2023 16:04
Status Success
Total duration 14m 4s
Artifacts 8

test-extensions.yml

on: pull_request
Matrix: ui-test
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 8 warnings, and 8 notices
ui-test (windows-latest, 3.11, labextensions)
Event loop is closed
validate_assignment.spec.ts:224:1 › Validation grade cell type changed: nbgrader/tests/ui-tests/validate_assignment.spec.ts#L1
1) validate_assignment.spec.ts:224:1 › Validation grade cell type changed ──────────────────────── Test timeout of 60000ms exceeded.
validate_assignment.spec.ts:224:1 › Validation grade cell type changed: ../../../../../tmp/nbgrader-galata-lb0wcjp_/nbgrader/tests/ui-tests/validate_assignment.spec.ts#L234
1) validate_assignment.spec.ts:224:1 › Validation grade cell type changed ──────────────────────── Error: Target closed =========================== logs =========================== waiting for locator('button.validate-button') locator resolved to <button aria-pressed="false" aria-disabled="false" title…>…</button> attempting click action waiting for element to be visible, enabled and stable element is not visible - waiting... ============================================================ at captureRawStack (/tmp/nbgrader-galata-lb0wcjp_/node_modules/playwright-core/lib/utils/stackTrace.js:47:17) at Frame._wrapApiCall (/tmp/nbgrader-galata-lb0wcjp_/node_modules/playwright-core/lib/client/channelOwner.js:152:51) at Proxy.<anonymous> (/tmp/nbgrader-galata-lb0wcjp_/node_modules/playwright-core/lib/client/channelOwner.js:122:27) at Frame.click (/tmp/nbgrader-galata-lb0wcjp_/node_modules/playwright-core/lib/client/frame.js:293:32) at Locator.click (/tmp/nbgrader-galata-lb0wcjp_/node_modules/playwright-core/lib/client/locator.js:87:24) at /tmp/nbgrader-galata-lb0wcjp_/nbgrader/tests/ui-tests/validate_assignment.spec.ts:234:48 at /tmp/nbgrader-galata-lb0wcjp_/node_modules/@playwright/test/lib/worker/workerMain.js:352:9 at TestInfoImpl._runAndFailOnError (/tmp/nbgrader-galata-lb0wcjp_/node_modules/@playwright/test/lib/worker/testInfo.js:182:7) at /tmp/nbgrader-galata-lb0wcjp_/node_modules/@playwright/test/lib/worker/workerMain.js:348:21 at TimeoutRunner.run (/tmp/nbgrader-galata-lb0wcjp_/node_modules/playwright-core/lib/utils/timeoutRunner.js:49:14) at TimeoutManager.runWithTimeout (/tmp/nbgrader-galata-lb0wcjp_/node_modules/@playwright/test/lib/worker/timeoutManager.js:62:7) at TestInfoImpl._runWithTimeout (/tmp/nbgrader-galata-lb0wcjp_/node_modules/@playwright/test/lib/worker/testInfo.js:169:26) at WorkerMain._runTest (/tmp/nbgrader-galata-lb0wcjp_/node_modules/@playwright/test/lib/worker/workerMain.js:284:5) at WorkerMain.runTestGroup (/tmp/nbgrader-galata-lb0wcjp_/node_modules/@playwright/test/lib/worker/workerMain.js:208:11) at process.<anonymous> (/tmp/nbgrader-galata-lb0wcjp_/node_modules/@playwright/test/lib/common/process.js:88:22)
formgrader.spec.ts:782:1 › Load students submissions: ../../../../../tmp/nbgrader-galata-o4m3qu5z/nbgrader/tests/ui-tests/formgrader.spec.ts#L807
1) formgrader.spec.ts:782:1 › Load students submissions ────────────────────────────────────────── Error: Navigation to "http://localhost:8888/formgrader/manage_students/Bitdiddle" is interrupted by another navigation to "http://localhost:8888/formgrader" =========================== logs =========================== navigating to "http://localhost:8888/formgrader/manage_students/Bitdiddle", waiting until "load" ============================================================ at captureRawStack (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/utils/stackTrace.js:47:17) at Frame._wrapApiCall (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/client/channelOwner.js:152:51) at Proxy.<anonymous> (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/client/channelOwner.js:122:27) at Frame.goto (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/client/frame.js:87:63) at /tmp/nbgrader-galata-o4m3qu5z/nbgrader/tests/ui-tests/formgrader.spec.ts:807:18 at /tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/workerMain.js:352:9 at TestInfoImpl._runAndFailOnError (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/testInfo.js:182:7) at /tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/workerMain.js:348:21 at TimeoutRunner.run (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/utils/timeoutRunner.js:49:14) at TimeoutManager.runWithTimeout (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/timeoutManager.js:62:7) at TestInfoImpl._runWithTimeout (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/testInfo.js:169:26) at WorkerMain._runTest (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/workerMain.js:284:5) at WorkerMain.runTestGroup (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/workerMain.js:208:11) at process.<anonymous> (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/common/process.js:88:22)
validate_assignment.spec.ts:202:1 › Validation open relative file: nbgrader/tests/ui-tests/validate_assignment.spec.ts#L1
2) validate_assignment.spec.ts:202:1 › Validation open relative file ───────────────────────────── Test timeout of 60000ms exceeded.
validate_assignment.spec.ts:202:1 › Validation open relative file: ../../../../../tmp/nbgrader-galata-o4m3qu5z/nbgrader/tests/ui-tests/validate_assignment.spec.ts#L212
2) validate_assignment.spec.ts:202:1 › Validation open relative file ───────────────────────────── Error: Target closed =========================== logs =========================== waiting for locator('button.validate-button') locator resolved to <button aria-pressed="false" aria-disabled="false" title…>…</button> attempting click action waiting for element to be visible, enabled and stable element is not visible - waiting... ============================================================ at captureRawStack (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/utils/stackTrace.js:47:17) at Frame._wrapApiCall (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/client/channelOwner.js:152:51) at Proxy.<anonymous> (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/client/channelOwner.js:122:27) at Frame.click (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/client/frame.js:293:32) at Locator.click (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/client/locator.js:87:24) at /tmp/nbgrader-galata-o4m3qu5z/nbgrader/tests/ui-tests/validate_assignment.spec.ts:212:48 at /tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/workerMain.js:352:9 at TestInfoImpl._runAndFailOnError (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/testInfo.js:182:7) at /tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/workerMain.js:348:21 at TimeoutRunner.run (/tmp/nbgrader-galata-o4m3qu5z/node_modules/playwright-core/lib/utils/timeoutRunner.js:49:14) at TimeoutManager.runWithTimeout (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/timeoutManager.js:62:7) at TestInfoImpl._runWithTimeout (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/testInfo.js:169:26) at WorkerMain._runTest (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/workerMain.js:284:5) at WorkerMain.runTestGroup (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/worker/workerMain.js:208:11) at process.<anonymous> (/tmp/nbgrader-galata-o4m3qu5z/node_modules/@playwright/test/lib/common/process.js:88:22)
ui-test (windows-latest, 3.11, labextensions)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ui-test (windows-latest, 3.11, nbextensions)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ui-test (ubuntu-22.04, 3.10, labextensions)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ui-test (ubuntu-22.04, 3.10, nbextensions)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ui-test (windows-latest, 3.10, labextensions)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ui-test (ubuntu-22.04, 3.11, nbextensions)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ui-test (windows-latest, 3.10, nbextensions)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ui-test (ubuntu-22.04, 3.11, labextensions)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
🎭 Playwright Run Summary
21 skipped 25 passed (5.7m)
🎭 Playwright Run Summary
21 skipped 25 passed (3.4m)
🎭 Playwright Run Summary
46 passed (9.8m)
🎭 Playwright Run Summary
1 flaky validate_assignment.spec.ts:224:1 › Validation grade cell type changed ───────────────────────── 45 passed (9.9m)
🎭 Playwright Run Summary
21 skipped 25 passed (6.9m)
🎭 Playwright Run Summary
2 flaky formgrader.spec.ts:782:1 › Load students submissions ─────────────────────────────────────────── validate_assignment.spec.ts:202:1 › Validation open relative file ────────────────────────────── 44 passed (10.2m)
🎭 Playwright Run Summary
21 skipped 25 passed (3.7m)
🎭 Playwright Run Summary
46 passed (10.9m)

Artifacts

Produced during runtime
Name Size
nbgrader-uitests-labextensions-ubuntu-22.04-python3.10 Expired
440 KB
nbgrader-uitests-labextensions-ubuntu-22.04-python3.11 Expired
440 KB
nbgrader-uitests-labextensions-windows-latest-python3.10 Expired
565 KB
nbgrader-uitests-labextensions-windows-latest-python3.11 Expired
564 KB
nbgrader-uitests-nbextensions-ubuntu-22.04-python3.10 Expired
1.22 MB
nbgrader-uitests-nbextensions-ubuntu-22.04-python3.11 Expired
1.33 MB
nbgrader-uitests-nbextensions-windows-latest-python3.10 Expired
534 KB
nbgrader-uitests-nbextensions-windows-latest-python3.11 Expired
536 KB