Skip to content

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

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

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

Triggered via pull request January 11, 2025 21:34
Status Success
Total duration 23m 9s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 1 warning, and 1 notice
[chromium] › test_matrix_functions.spec.mjs:132:1 › Test min/max of a col vector with units: tests/test_matrix_functions.spec.mjs#L143
1) [chromium] › test_matrix_functions.spec.mjs:132:1 › Test min/max of a col vector with units ─── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 141 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 142 | > 143 | let content = await page.textContent(`#result-value-0`); | ^ 144 | expect(parseLatexFloat(content)).toBeCloseTo(9, precision); 145 | content = await page.textContent('#result-units-0'); 146 | expect(content).toBe('m'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_functions.spec.mjs:143: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
[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_fluid_properties.spec.mjs:541:1 › Test HAPropsSI fluid function in numerical solve: tests/test_fluid_properties.spec.mjs#L553
4) [firefox] › test_fluid_properties.spec.mjs:541:1 › Test HAPropsSI fluid function in numerical solve TimeoutError: locator.selectOption: Timeout 120000ms exceeded. Call log: - waiting for getByLabel('Fluid:').nth(1) 551 | 552 | await page.locator('#add-fluid-cell').click(); > 553 | await page.getByLabel('Fluid:').nth(1).selectOption('Humid Air (Psychrometrics)'); | ^ 554 | await page.getByLabel('Output:').nth(1).selectOption({label: 'S - Mixture entropy per mass dry air - [J/kg/K]'}); 555 | await page.getByLabel('Input 1:').nth(1).selectOption({label: 'H - Mixture enthalpy per mass dry air - [J/kg]'}); 556 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_fluid_properties.spec.mjs:553:42
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
4 flaky [chromium] › test_matrix_functions.spec.mjs:132:1 › Test min/max of a col vector with units ──── [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_fluid_properties.spec.mjs:541:1 › Test HAPropsSI fluid function in numerical solve 9 skipped 773 passed (20.0m)

Artifacts

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