refactor: perform dimensional analysis and numerical evaluation in same pass #1608
Annotations
6 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_plotting.spec.mjs#L429
2) [chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch ──────
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('#plot-expression-1-0').locator('text=Both the x and y values need to be a scalar value or a vector')
427 | await page.waitForSelector('.status-footer', { state: 'detached' });
428 |
> 429 | await page.locator('#plot-expression-1-0 >> text=Both the x and y values need to be a scalar value or a vector').waitFor({state: 'attached', timeout: 1000});
| ^
430 |
431 | });
432 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:429:116
|
Run Playwright tests:
tests/test_basic.spec.mjs#L1214
3) [firefox] › test_basic.spec.mjs:1196:1 › Test unit exponent rounding ──────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Pa"
Received: ""
1212 |
1213 | content = await page.textContent('#result-units-4');
> 1214 | expect(content).toBe('Pa');
| ^
1215 |
1216 | });
1217 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:1214:19
|
Run Playwright tests:
tests/test_file_save_open.spec.mjs#L147
4) [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)
|
Run Playwright tests:
tests/test_matrix_functions.spec.mjs#L202
5) [firefox] › test_matrix_functions.spec.mjs:191:1 › Test min/max of a row vector with units ────
TimeoutError: page.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for locator('#result-value-0')
200 | await page.waitForSelector('text=Updating...', {state: 'detached'});
201 |
> 202 | let content = await page.textContent(`#result-value-0`);
| ^
203 | expect(parseLatexFloat(content)).toBeCloseTo(9, precision);
204 | content = await page.textContent('#result-units-0');
205 | expect(content).toBe('m');
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_functions.spec.mjs:202:28
|
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
5 flaky
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ─────────────────────────
[chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch ───────
[firefox] › test_basic.spec.mjs:1196:1 › Test unit exponent rounding ───────────────────────────
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error
[firefox] › test_matrix_functions.spec.mjs:191:1 › Test min/max of a row vector with units ─────
9 skipped
778 passed (19.7m)
|
Loading