Skip to content

refactor: perform dimensional analysis and numerical evaluation in same pass (WIP) #1564

refactor: perform dimensional analysis and numerical evaluation in same pass (WIP)

refactor: perform dimensional analysis and numerical evaluation in same pass (WIP) #1564

Re-run triggered January 7, 2025 20:21
Status Success
Total duration 28m 10s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 1 warning, and 1 notice
[chromium] › test_matrix_addition.spec.mjs:33:1 › Matrix subtraction: tests/test_matrix_addition.spec.mjs#L38
1) [chromium] › test_matrix_addition.spec.mjs:33:1 › Matrix subtraction ────────────────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 36 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 37 | > 38 | let content = await page.textContent(`#result-value-0`); | ^ 39 | expect(content).toBe(String.raw`\begin{bmatrix} a - 5 & b - 6 \\ c - 7 & d - 8 \end{bmatrix}`); 40 | 41 | // add some numbers for variables that define first matrix at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_addition.spec.mjs:38:28
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points: tests/test_plotting.spec.mjs#L225
2) [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
2) [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
[chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch: tests/test_plotting.spec.mjs#L429
3) [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_data_table.spec.mjs:1047:1 › Test with nested calculated columns: tests/test_data_table.spec.mjs#L1073
4) [firefox] › test_data_table.spec.mjs:1047:1 › Test with nested calculated columns ───────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 1071 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 1072 | > 1073 | let content = await page.textContent('#result-value-0'); | ^ 1074 | expect(parseLatexFloat(content)).toBeCloseTo(81, precision); 1075 | content = await page.textContent('#result-units-0'); 1076 | expect(content).toBe('m^2'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_data_table.spec.mjs:1073:28
[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
5) [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:153:1 › Test plot number of points: tests/test_plotting.spec.mjs#L225
6) [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_symbolic_expression_error_handling.spec.mjs:5:1 › Test handling of symbolic expression error: tests/test_symbolic_expression_error_handling.spec.mjs#L1
7) [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
7) [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
7 flaky [chromium] › test_matrix_addition.spec.mjs:33:1 › Matrix subtraction ─────────────────────────── [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_data_table.spec.mjs:1047:1 › Test with nested calculated columns ────────────── [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error [firefox] › test_plotting.spec.mjs:153:1 › Test plot number of points ────────────────────────── [firefox] › test_symbolic_expression_error_handling.spec.mjs:5:1 › Test handling of symbolic expression error 9 skipped 762 passed (24.4m)

Artifacts

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