refactor: perform dimensional analysis and numerical evaluation in same pass (WIP) #1584
Annotations
7 errors, 1 warning, and 1 notice
[chromium] › test_matrix_functions.spec.mjs:375:1 › Test range with expression inputs:
tests/test_matrix_functions.spec.mjs#L384
1) [chromium] › test_matrix_functions.spec.mjs:375:1 › Test range with expression inputs ─────────
TimeoutError: page.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for locator('#result-value-0')
382 | await page.waitForSelector('text=Updating...', {state: 'detached'});
383 |
> 384 | let content = await page.textContent(`#result-value-0`);
| ^
385 | expect(content).toBe(String.raw`\begin{bmatrix} 0 \\ 0.1 \\ 0.2 \\ 0.3 \\ 0.4 \\ 0.5 \\ 0.6 \\ 0.7 \\ 0.8 \\ 0.9 \\ 1 \end{bmatrix}`);
386 | });
387 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_functions.spec.mjs:384: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:860:1 › Test csv export and reload:
tests/test_data_table.spec.mjs#L890
4) [firefox] › test_data_table.spec.mjs:860:1 › Test csv export and reload ───────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "\\begin{bmatrix} 4.1\\left\\lbrack m\\right\\rbrack \\\\ 0\\left\\lbrack m\\right\\rbrack \\\\ 3\\left\\lbrack m\\right\\rbrack \\\\ 1\\left\\lbrack m\\right\\rbrack \\\\ -20.3\\left\\lbrack m\\right\\rbrack \\end{bmatrix}"
Received: "col_{1}"
888 |
889 | let content = await page.textContent(`#result-value-0`);
> 890 | expect(content).toBe(String.raw`\begin{bmatrix} 4.1\left\lbrack m\right\rbrack \\ 0\left\lbrack m\right\rbrack \\ 3\left\lbrack m\right\rbrack \\ 1\left\lbrack m\right\rbrack \\ -20.3\left\lbrack m\right\rbrack \end{bmatrix}`);
| ^
891 |
892 | content = await page.textContent(`#result-value-1`);
893 | expect(content).toBe(String.raw`\begin{bmatrix} 9\left\lbrack s\right\rbrack \\ 8\left\lbrack s\right\rbrack \\ 7\left\lbrack s\right\rbrack \\ 0\left\lbrack s\right\rbrack \\ -1\left\lbrack s\right\rbrack \\ -2\left\lbrack s\right\rbrack \\ -3\left\lbrack s\right\rbrack \\ -3.4\left\lbrack s\right\rbrack \end{bmatrix}`);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_data_table.spec.mjs:890:19
|
[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_fluid_properties.spec.mjs:515:1 › Test PropsSI fluid function in numerical solve:
tests/test_fluid_properties.spec.mjs#L527
6) [firefox] › test_fluid_properties.spec.mjs:515:1 › Test PropsSI fluid function in numerical solve
TimeoutError: locator.selectOption: Timeout 120000ms exceeded.
Call log:
- waiting for getByLabel('Fluid:').nth(1)
525 |
526 | await page.locator('#add-fluid-cell').click();
> 527 | await page.getByLabel('Fluid:').nth(1).selectOption('Dry Air');
| ^
528 | await page.getByLabel('Output:').nth(1).selectOption({label: 'S - Mass specific entropy - [J/kg/K]'});
529 | await page.getByLabel('Input 1:').nth(1).selectOption({label: 'H - Mass specific enthalpy - [J/kg]'});
530 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_fluid_properties.spec.mjs:527: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
6 flaky
[chromium] › test_matrix_functions.spec.mjs:375:1 › Test range with expression inputs ──────────
[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:860:1 › Test csv export and reload ────────────────────────
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error
[firefox] › test_fluid_properties.spec.mjs:515:1 › Test PropsSI fluid function in numerical solve
9 skipped
771 passed (20.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots
|
15.9 MB |
|
test-results
Expired
|
141 MB |
|