Skip to content

New Feature: Auto-generation of test code #76

New Feature: Auto-generation of test code

New Feature: Auto-generation of test code #76

Triggered via pull request August 31, 2023 22:00
Status Success
Total duration 16m 33s
Artifacts 8

test-extensions.yml

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

Annotations

2 errors, 8 warnings, and 8 notices
validate_assignment.spec.ts:136:1 › Validation failure: nbgrader\tests\ui-tests\utils\test_utils.ts#L74
1) validate_assignment.spec.ts:136:1 › Validation failure ──────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality Expected: 1 Received: 0 Call log: - expect.toHaveCount with timeout 5000ms - waiting for locator('.nbgrader-ErrorDialog') - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" - locator resolved to 0 elements - unexpected value "0" at utils\test_utils.ts:74 72 | */ 73 | export const waitForErrorModal = async (page: IJupyterLabPageFixture) => { > 74 | await expect(page.locator(".nbgrader-ErrorDialog")).toHaveCount(1); | ^ 75 | } 76 | 77 | /* at waitForErrorModal (D:\a\nbgrader\nbgrader\nbgrader\tests\ui-tests\utils\test_utils.ts:74:55) at D:\a\nbgrader\nbgrader\nbgrader\tests\ui-tests\validate_assignment.spec.ts:147:26
formgrader.spec.ts:489:1 › Load gradebook2: ../../../../../tmp/nbgrader-galata-rczbzrvm/nbgrader/tests/ui-tests/formgrader.spec.ts#L505
1) formgrader.spec.ts:489:1 › Load gradebook2 ──────────────────────────────────────────────────── Error: Navigation to "http://localhost:8888/formgrader/gradebook/Problem%20Set%201" is interrupted by another navigation to "http://localhost:8888/formgrader" =========================== logs =========================== navigating to "http://localhost:8888/formgrader/gradebook/Problem%20Set%201", waiting until "load" ============================================================ at captureRawStack (/tmp/nbgrader-galata-rczbzrvm/node_modules/playwright-core/lib/utils/stackTrace.js:47:17) at Frame._wrapApiCall (/tmp/nbgrader-galata-rczbzrvm/node_modules/playwright-core/lib/client/channelOwner.js:152:51) at Proxy.<anonymous> (/tmp/nbgrader-galata-rczbzrvm/node_modules/playwright-core/lib/client/channelOwner.js:122:27) at Frame.goto (/tmp/nbgrader-galata-rczbzrvm/node_modules/playwright-core/lib/client/frame.js:87:63) at /tmp/nbgrader-galata-rczbzrvm/nbgrader/tests/ui-tests/formgrader.spec.ts:505:16 at /tmp/nbgrader-galata-rczbzrvm/node_modules/@playwright/test/lib/worker/workerMain.js:352:9 at TestInfoImpl._runAndFailOnError (/tmp/nbgrader-galata-rczbzrvm/node_modules/@playwright/test/lib/worker/testInfo.js:182:7) at /tmp/nbgrader-galata-rczbzrvm/node_modules/@playwright/test/lib/worker/workerMain.js:348:21 at TimeoutRunner.run (/tmp/nbgrader-galata-rczbzrvm/node_modules/playwright-core/lib/utils/timeoutRunner.js:49:14) at TimeoutManager.runWithTimeout (/tmp/nbgrader-galata-rczbzrvm/node_modules/@playwright/test/lib/worker/timeoutManager.js:62:7) at TestInfoImpl._runWithTimeout (/tmp/nbgrader-galata-rczbzrvm/node_modules/@playwright/test/lib/worker/testInfo.js:169:26) at WorkerMain._runTest (/tmp/nbgrader-galata-rczbzrvm/node_modules/@playwright/test/lib/worker/workerMain.js:284:5) at WorkerMain.runTestGroup (/tmp/nbgrader-galata-rczbzrvm/node_modules/@playwright/test/lib/worker/workerMain.js:208:11) at process.<anonymous> (/tmp/nbgrader-galata-rczbzrvm/node_modules/@playwright/test/lib/common/process.js:88:22)
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 (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 (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.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 (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/
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 (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/
🎭 Playwright Run Summary
21 skipped 25 passed (3.4m)
🎭 Playwright Run Summary
1 flaky validate_assignment.spec.ts:136:1 › Validation failure ───────────────────────────────────────── 21 skipped 24 passed (5.0m)
🎭 Playwright Run Summary
21 skipped 25 passed (5.0m)
🎭 Playwright Run Summary
21 skipped 25 passed (5.1m)
🎭 Playwright Run Summary
46 passed (9.7m)
🎭 Playwright Run Summary
46 passed (10.2m)
🎭 Playwright Run Summary
1 flaky formgrader.spec.ts:489:1 › Load gradebook2 ───────────────────────────────────────────────────── 45 passed (11.0m)
🎭 Playwright Run Summary
46 passed (13.0m)

Artifacts

Produced during runtime
Name Size
nbgrader-uitests-labextensions-ubuntu-22.04-python3.10 Expired
441 KB
nbgrader-uitests-labextensions-ubuntu-22.04-python3.11 Expired
440 KB
nbgrader-uitests-labextensions-windows-latest-python3.10 Expired
562 KB
nbgrader-uitests-labextensions-windows-latest-python3.11 Expired
562 KB
nbgrader-uitests-nbextensions-ubuntu-22.04-python3.10 Expired
440 KB
nbgrader-uitests-nbextensions-ubuntu-22.04-python3.11 Expired
855 KB
nbgrader-uitests-nbextensions-windows-latest-python3.10 Expired
538 KB
nbgrader-uitests-nbextensions-windows-latest-python3.11 Expired
834 KB