Merge pull request #281 from mgreminger/data-table-exponent-fix #1448
Annotations
4 errors, 2 warnings, and 1 notice
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points:
tests/test_plotting.spec.mjs#L225
1) [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
|
[firefox] › test_data_table.spec.mjs:664:1 › Test excel file import with headers and no units:
tests/test_data_table.spec.mjs#L694
2) [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
|
[firefox] › test_data_table.spec.mjs:811:1 › Test csv file import with headers and units:
tests/test_data_table.spec.mjs#L841
3) [firefox] › test_data_table.spec.mjs:811:1 › Test csv file import with headers and units ──────
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}"
839 |
840 | let content = await page.textContent(`#result-value-0`);
> 841 | 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}`);
| ^
842 |
843 | content = await page.textContent(`#result-value-1`);
844 | 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:841: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
4) [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)
|
test
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/
|
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_plotting.spec.mjs:153:1 › Test plot number of points ─────────────────────────
[firefox] › test_data_table.spec.mjs:664:1 › Test excel file import with headers and no units ──
[firefox] › test_data_table.spec.mjs:811:1 › Test csv file import with headers and units ───────
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error
9 skipped
743 passed (19.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots
Expired
|
15.9 MB |
|
test-results
Expired
|
93.8 MB |
|