refactor: perform dimensional analysis and numerical evaluation in same pass (WIP) #1587
Annotations
6 errors, 1 warning, and 1 notice
[chromium] › test_matrix_functions.spec.mjs:367:1 › Test range error handling for empty range:
tests/test_matrix_functions.spec.mjs#L372
1) [chromium] › test_matrix_functions.spec.mjs:367:1 › Test range error handling for empty range ─
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: locator('text=Attempt to create empty range')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for locator('text=Attempt to create empty range')
370 | await page.waitForSelector('text=Updating...', {state: 'detached'});
371 |
> 372 | await expect(page.locator("text=Attempt to create empty range")).toBeAttached();
| ^
373 | });
374 |
375 | test('Test range with expression inputs', async () => {
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_functions.spec.mjs:372:68
|
[chromium] › test_matrix_multiplication.spec.mjs:142:1 › Units with square variable matrix times variable matrix using matrix multiplication operator:
tests/test_matrix_multiplication.spec.mjs#L153
2) [chromium] › test_matrix_multiplication.spec.mjs:142:1 › Units with square variable matrix times variable matrix using matrix multiplication operator
TimeoutError: page.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for locator('#result-value-0')
151 | await page.waitForSelector('text=Updating...', {state: 'detached'});
152 |
> 153 | let content = await page.textContent(`#result-value-0`);
| ^
154 | expect(content).toBe('\\begin{bmatrix} 5 \\cdot a + 7 \\cdot b & 6 \\cdot a + 8 \\cdot b \\\\ 5 \\cdot c + 7 \\cdot d & 6 \\cdot c + 8 \\cdot d \\end{bmatrix}');
155 |
156 | // add some numbers for variables that define first matrix
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_multiplication.spec.mjs:153:28
|
[chromium] › test_plotting.spec.mjs:545:1 › test scatter plot y not real:
tests/test_plotting.spec.mjs#L555
3) [chromium] › test_plotting.spec.mjs:545:1 › test scatter plot y not real ──────────────────────
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('#plot-expression-1-0').locator('text=One or more y values does not evaluate to a finite real value')
553 | await page.waitForSelector('.status-footer', { state: 'detached' });
554 |
> 555 | await page.locator('#plot-expression-1-0 >> text=One or more y values does not evaluate to a finite real value').waitFor({state: 'attached', timeout: 1000});
| ^
556 |
557 | });
558 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:555:116
|
[firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints:
tests/test_checkpoints.spec.mjs#L71
4) [firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ────────────────────────
TimeoutError: locator.waitFor: Timeout 120000ms exceeded.
Call log:
- waiting for locator('text=New Sheet') to be visible
69 |
70 | await page.goBack();
> 71 | await page.locator('text=New Sheet').waitFor();
| ^
72 |
73 | });
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_checkpoints.spec.mjs:71:40
|
[firefox] › test_data_table.spec.mjs:713:1 › Test excel file import with headers and units:
tests/test_data_table.spec.mjs#L743
5) [firefox] › test_data_table.spec.mjs:713:1 › Test excel file import with headers and units ────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "\\begin{bmatrix} 4.1\\left\\lbrack m\\right\\rbrack \\\\ 0\\left\\lbrack m\\right\\rbrack \\\\ 3\\left\\lbrack m\\right\\rbrack \\\\ 1\\left\\lbrack m\\right\\rbrack \\\\ -20.3\\left\\lbrack m\\right\\rbrack \\end{bmatrix}"
Received: "col_{1}"
741 |
742 | let content = await page.textContent(`#result-value-0`);
> 743 | expect(content).toBe(String.raw`\begin{bmatrix} 4.1\left\lbrack m\right\rbrack \\ 0\left\lbrack m\right\rbrack \\ 3\left\lbrack m\right\rbrack \\ 1\left\lbrack m\right\rbrack \\ -20.3\left\lbrack m\right\rbrack \end{bmatrix}`);
| ^
744 |
745 | content = await page.textContent(`#result-value-1`);
746 | expect(content).toBe(String.raw`\begin{bmatrix} 9\left\lbrack s\right\rbrack \\ 8\left\lbrack s\right\rbrack \\ 7\left\lbrack s\right\rbrack \\ 0\left\lbrack s\right\rbrack \\ -1\left\lbrack s\right\rbrack \\ -2\left\lbrack s\right\rbrack \\ -3\left\lbrack s\right\rbrack \\ -3.4\left\lbrack s\right\rbrack \end{bmatrix}`);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_data_table.spec.mjs:743:19
|
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error:
tests/test_file_save_open.spec.mjs#L147
6) [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error
Error: fileChooser.setFiles: Test ended.
145 | const path = "tests/test_sheet_parsing_error.epxyz";
146 | page.on('filechooser', async (fileChooser) => {
> 147 | await fileChooser.setFiles(path);
| ^
148 | });
149 | await page.locator('#open-sheet').click();
150 |
at Page.<anonymous> (/home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_file_save_open.spec.mjs:147:5)
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "screenshots", "test-results".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
🎭 Playwright Run Summary
6 flaky
[chromium] › test_matrix_functions.spec.mjs:367:1 › Test range error handling for empty range ──
[chromium] › test_matrix_multiplication.spec.mjs:142:1 › Units with square variable matrix times variable matrix using matrix multiplication operator
[chromium] › test_plotting.spec.mjs:545:1 › test scatter plot y not real ───────────────────────
[firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ─────────────────────────
[firefox] › test_data_table.spec.mjs:713:1 › Test excel file import with headers and units ─────
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error
9 skipped
771 passed (19.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots
|
15.9 MB |
|
test-results
Expired
|
124 MB |
|