feat: implement the factorial function #1437
Annotations
4 errors, 2 warnings, and 1 notice
Run Playwright tests:
tests/test_data_table.spec.mjs#L694
1) [firefox] › test_data_table.spec.mjs:664:1 › Test excel file import with headers and no units ─
Error: expect(received).toBe(expected) // Object.is equality
Expected: "\\begin{bmatrix} 4.1 \\\\ 0 \\\\ 3 \\\\ 1 \\\\ -20.3 \\end{bmatrix}"
Received: "col_{1}"
692 |
693 | let content = await page.textContent(`#result-value-0`);
> 694 | expect(content).toBe(String.raw`\begin{bmatrix} 4.1 \\ 0 \\ 3 \\ 1 \\ -20.3 \end{bmatrix}`);
| ^
695 |
696 | content = await page.textContent(`#result-value-1`);
697 | expect(content).toBe(String.raw`\begin{bmatrix} 9 \\ 8 \\ 7 \\ 0 \\ -1 \\ -2 \\ -3 \\ -3.4 \end{bmatrix}`);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_data_table.spec.mjs:694:19
|
Run Playwright tests:
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)
|
Run Playwright tests:
tests/test_fluid_properties.spec.mjs#L553
3) [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
|
Run Playwright tests:
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
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/
|
Run Playwright tests
4 flaky
[firefox] › test_data_table.spec.mjs:664:1 › Test excel file import with headers and no units ──
[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
[firefox] › test_plotting.spec.mjs:153:1 › Test plot number of points ──────────────────────────
9 skipped
731 passed (19.2m)
|
Loading