fix: fix derivative dimensional analysis bug #1450
Annotations
3 errors, 2 warnings, and 1 notice
[firefox] › test_basic.spec.mjs:1514:1 › Test cell drag to reorder:
tests/test_basic.spec.mjs#L1541
1) [firefox] › test_basic.spec.mjs:1514:1 › Test cell drag to reorder ────────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 1
Received: 0
Expected precision: 13
Expected difference: < 0.00000000000005
Received difference: 1
1539 |
1540 | let content = await page.textContent('#result-value-0');
> 1541 | expect(parseLatexFloat(content)).toBeCloseTo(1, precision);
| ^
1542 |
1543 | content = await page.textContent('#result-value-1');
1544 | expect(parseLatexFloat(content)).toBeCloseTo(2, precision);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:1541:36
|
[firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open:
tests/test_file_save_open.spec.mjs#L71
2) [firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open ──────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 285
69 | await page.screenshot({ path: `${screenshotDir}/${browserName}_screenshot_file_open_save_check.png`, fullPage: false });
70 |
> 71 | expect(compareImages(`${browserName}_screenshot_file_open_save.png`, `${browserName}_screenshot_file_open_save_check.png`)).toEqual(0);
| ^
72 |
73 | // Attempt to open an image file to make sure there is not a crash and that there is an error message shown
74 | page.once('filechooser', async (fileChooser) => {
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_file_save_open.spec.mjs:71:127
|
[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
3) [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)
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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
3 flaky
[firefox] › test_basic.spec.mjs:1514:1 › Test cell drag to reorder ─────────────────────────────
[firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open ───────────────────
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error
9 skipped
746 passed (19.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots
Expired
|
15.9 MB |
|
test-results
Expired
|
76.2 MB |
|