feature: set default sheet config #1487
Annotations
5 errors, 2 warnings, and 1 notice
Run Playwright tests:
tests/test_basic.spec.mjs#L769
1) [chromium] › test_basic.spec.mjs:754:1 › Test function notation with integrals ────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "\\frac{b \\cdot h^{3}}{12}"
Received: "Ixx"
767 |
768 | let content = await page.textContent('#result-value-1');
> 769 | expect(content).toBe('\\frac{b \\cdot h^{3}}{12}');
| ^
770 | content = await page.textContent('#result-value-2');
771 | expect(parseLatexFloat(content)).toBeCloseTo(2, precision);
772 | content = await page.textContent('#result-value-4');
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:769:19
|
Run Playwright tests:
tests/test_complex.spec.mjs#L222
2) [chromium] › test_complex.spec.mjs:205:1 › Test conj function ─────────────────────────────────
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('#cell-2').locator('text=Dimension Error')
220 |
221 | // make sure inconsistent units generates error
> 222 | await page.locator('#cell-2 >> text=Dimension Error').waitFor({state: "attached", timeout: 1000});
| ^
223 |
224 | let content = complexLatex(await page.textContent('#result-value-0'));
225 | expect(content.re).toBeCloseTo(-.001, precision);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_complex.spec.mjs:222:57
|
Run Playwright tests:
tests/test_plotting.spec.mjs#L225
3) [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
3) [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_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)
|
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/
|
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_basic.spec.mjs:754:1 › Test function notation with integrals ─────────────────
[chromium] › test_complex.spec.mjs:205:1 › Test conj function ──────────────────────────────────
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ─────────────────────────
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error
9 skipped
761 passed (19.7m)
|
Loading