refactor: perform dimensional analysis and numerical evaluation in same pass #1604
Annotations
5 errors, 1 warning, and 1 notice
Run Playwright tests:
tests/test_plotting.spec.mjs#L225
1) [chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 3422
223 |
224 | expect(compareImages(linearImageFile, curveImageFile)).toBeGreaterThan(100);
> 225 | expect(compareImages(linearImageFile, twoPointCurveImageFile)).toEqual(0);
| ^
226 | });
227 |
228 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:225:66
|
Run Playwright tests:
tests/test_plotting.spec.mjs#L225
1) [chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 3422
223 |
224 | expect(compareImages(linearImageFile, curveImageFile)).toBeGreaterThan(100);
> 225 | expect(compareImages(linearImageFile, twoPointCurveImageFile)).toEqual(0);
| ^
226 | });
227 |
228 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:225:66
|
Run Playwright tests:
tests/test_checkpoints.spec.mjs#L68
2) [firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 1
Received: 2
Expected precision: 13
Expected difference: < 0.00000000000005
Received difference: 1
66 | await page.waitForSelector('.status-footer', { state: 'detached' });
67 | content = await page.locator('#result-value-0').textContent();
> 68 | expect(parseLatexFloat(content)).toBeCloseTo(1, precision);
| ^
69 |
70 | await page.goBack();
71 | await page.locator('text=New Sheet').waitFor();
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_checkpoints.spec.mjs:68:36
|
Run Playwright tests:
tests/test_matrix_inverse.spec.mjs#L103
3) [firefox] › test_matrix_inverse.spec.mjs:98:1 › Inverse for nonsquare matrix ──────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('.status-footer').locator('text=NonSquare')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('.status-footer').locator('text=NonSquare')
101 | await page.waitForSelector('text=Updating...', {state: 'detached'});
102 |
> 103 | await expect(page.locator('.status-footer >> text=NonSquare')).toBeVisible();
| ^
104 | });
105 |
106 | test('Inverse for singular matrix', async () => {
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_inverse.spec.mjs:103:66
|
Run Playwright tests:
tests/test_matrix_multiplication.spec.mjs#L539
4) [firefox] › test_matrix_multiplication.spec.mjs:530:1 › Matrix multiplication with matrix and non-matrix symbol
Error: expect(received).toBe(expected) // Object.is equality
Expected: "\\begin{bmatrix} B \\cdot a \\\\ B \\cdot b \\end{bmatrix}"
Received: "A \\cdot B"
537 |
538 | let content = await page.textContent('#result-value-1');
> 539 | expect(content).toBe(String.raw`\begin{bmatrix} B \cdot a \\ B \cdot b \end{bmatrix}`);
| ^
540 | });
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_multiplication.spec.mjs:539:19
|
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/
|
Run Playwright tests
4 flaky
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ─────────────────────────
[firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ─────────────────────────
[firefox] › test_matrix_inverse.spec.mjs:98:1 › Inverse for nonsquare matrix ───────────────────
[firefox] › test_matrix_multiplication.spec.mjs:530:1 › Matrix multiplication with matrix and non-matrix symbol
9 skipped
777 passed (19.9m)
|
Loading