Skip to content

refactor: perform dimensional analysis and numerical evaluation in same pass #1570

refactor: perform dimensional analysis and numerical evaluation in same pass

refactor: perform dimensional analysis and numerical evaluation in same pass #1570

Triggered via pull request January 8, 2025 16:48
Status Success
Total duration 23m 12s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 1 warning, and 1 notice
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points: 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
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points: 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
[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
2) [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)
[firefox] › test_matrix_functions.spec.mjs:409:1 › Test count function for symbolic row vector: tests/test_matrix_functions.spec.mjs#L414
3) [firefox] › test_matrix_functions.spec.mjs:409:1 › Test count function for symbolic row vector TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 412 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 413 | > 414 | let content = await page.textContent(`#result-value-0`); | ^ 415 | expect(parseLatexFloat(content)).toBeCloseTo(3, precision); 416 | 417 | content = await page.textContent('#result-units-0'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_functions.spec.mjs:414:28
[firefox] › test_plotting.spec.mjs:153:1 › Test plot number of points: tests/test_plotting.spec.mjs#L225
4) [firefox] › test_plotting.spec.mjs:153:1 › Test plot number of points ───────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 0 Received: 3436 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
[firefox] › test_syntax_error_messages.spec.mjs:151:1 › Error message for missing multiplication symbol between expression then definite integral: tests/test_syntax_error_messages.spec.mjs#L154
5) [firefox] › test_syntax_error_messages.spec.mjs:151:1 › Error message for missing multiplication symbol between expression then definite integral TimeoutError: locator.waitFor: Timeout 1000ms exceeded. Call log: - waiting for locator('text=Missing multiplication symbol in expression') 152 | // variable followed by number 153 | await page.setLatex(0, String.raw`a\int_0^1\left(x\right)\mathrm{d}\left(x\right)=`); > 154 | await page.locator('text=Missing multiplication symbol in expression').waitFor({state: "attached", timeout: 1000}); | ^ 155 | }); 156 | 157 | test('Error message for missing multiplication symbol between expression then derivative', async () => { at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_syntax_error_messages.spec.mjs:154:74
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
5 flaky [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 [firefox] › test_matrix_functions.spec.mjs:409:1 › Test count function for symbolic row vector ─ [firefox] › test_plotting.spec.mjs:153:1 › Test plot number of points ────────────────────────── [firefox] › test_syntax_error_messages.spec.mjs:151:1 › Error message for missing multiplication symbol between expression then definite integral 9 skipped 768 passed (20.1m)

Artifacts

Produced during runtime
Name Size
screenshots Expired
15.9 MB
test-results Expired
125 MB