Skip to content

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

refactor: perform dimensional analysis and numerical evaluation in same pass

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

Triggered via pull request January 7, 2025 04:39
Status Success
Total duration 27m 8s
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:419:1 › test scatter plot x-y scalar vector mismatch: tests/test_plotting.spec.mjs#L429
1) [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
[firefox] › test_advanced_assignments.spec.mjs:102:3 › Check error handling with combined assignment query: tests/test_advanced_assignments.spec.mjs#L105
2) [firefox] › test_advanced_assignments.spec.mjs:102:3 › Check error handling with combined assignment query TimeoutError: locator.waitFor: Timeout 1000ms exceeded. Call log: - waiting for locator('text=Unknown Dimension mmm') 103 | // unrecognized assignment units 104 | await page.setLatex(0, 'x=5.11[mmm]='); > 105 | await page.locator('text=Unknown Dimension mmm').waitFor({state: "attached", timeout: 1000}); | ^ 106 | 107 | // unrecognized query units 108 | await page.setLatex(0, 'x=5.11[mm]=[sss]'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_advanced_assignments.spec.mjs:105:54
[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)
[firefox] › test_plotting.spec.mjs:17:1 › Test plotting: tests/test_plotting.spec.mjs#L92
4) [firefox] › test_plotting.spec.mjs:17:1 › Test plotting ─────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 120000ms exceeded. Call log: - waiting for locator('button:has-text("Results of expression does not evaluate to finite and real numeric values")') to be visible 90 | await page.click('#add-math-cell'); 91 | await page.setLatex(7, String.raw`s\left(v=\frac{pi}{2},0<u<20\right)=`); > 92 | await page.waitForSelector('button:has-text("Results of expression does not evaluate to finite and real numeric values")'); | ^ 93 | for (let i = 0; i < 18; i++) { 94 | await page.locator('#plot-expression-7-0 math-field.editable').press('Backspace'); 95 | } at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:92:14
[firefox] › test_symbolic_expression_error_handling.spec.mjs:5:1 › Test handling of symbolic expression error: tests/test_symbolic_expression_error_handling.spec.mjs#L1
5) [firefox] › test_symbolic_expression_error_handling.spec.mjs:5:1 › Test handling of symbolic expression error Test timeout of 240000ms exceeded.
[firefox] › test_symbolic_expression_error_handling.spec.mjs:5:1 › Test handling of symbolic expression error: tests/test_symbolic_expression_error_handling.spec.mjs#L14
5) [firefox] › test_symbolic_expression_error_handling.spec.mjs:5:1 › Test handling of symbolic expression error Error: locator.textContent: Test timeout of 240000ms exceeded. Call log: - waiting for locator('#result-value-21') 12 | await page.locator('text=Updating...').waitFor({state: 'detached', timeout: pyodideLoadTimeout}); 13 | > 14 | let content = await page.locator('#result-value-21').textContent({timeout: 240000}); | ^ 15 | expect(parseLatexFloat(content)).toBeCloseTo(57168.5056551697, precision); 16 | }); 17 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_symbolic_expression_error_handling.spec.mjs:14:56
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:419:1 › test scatter plot x-y scalar vector mismatch ─────── [firefox] › test_advanced_assignments.spec.mjs:102:3 › Check error handling with combined assignment query [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error [firefox] › test_plotting.spec.mjs:17:1 › Test plotting ──────────────────────────────────────── [firefox] › test_symbolic_expression_error_handling.spec.mjs:5:1 › Test handling of symbolic expression error 9 skipped 764 passed (23.9m)

Artifacts

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