New Feature: Auto-generation of test code #67
Annotations
2 errors, 1 warning, and 1 notice
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"
- 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
|
nbgrader\tests\ui-tests\utils\test_utils.ts#L74
1) validate_assignment.spec.ts:136:1 › Validation failure ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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"
- 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
|
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/
|
|
The logs for this run have expired and are no longer available.
Loading