Skip to content

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

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

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

Triggered via pull request January 3, 2025 05:29
Status Success
Total duration 26m 21s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 1 warning, and 1 notice
[chromium] › test_complex.spec.mjs:205:1 › Test conj function: tests/test_complex.spec.mjs#L222
1) [chromium] › test_complex.spec.mjs:205:1 › Test conj function ───────────────────────────────── TimeoutError: locator.waitFor: Timeout 1000ms exceeded. Call log: - waiting for locator('#cell-2').locator('text=Dimension Error') 220 | 221 | // make sure inconsistent units generates error > 222 | await page.locator('#cell-2 >> text=Dimension Error').waitFor({state: "attached", timeout: 1000}); | ^ 223 | 224 | let content = complexLatex(await page.textContent('#result-value-0')); 225 | expect(content.re).toBeCloseTo(-.001, precision); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_complex.spec.mjs:222:57
[firefox] › test_data_table.spec.mjs:311:1 › Test auto grow with range output: tests/test_data_table.spec.mjs#L324
2) [firefox] › test_data_table.spec.mjs:311:1 › Test auto grow with range output ───────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 322 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 323 | > 324 | let content = await page.textContent(`#result-value-0`); | ^ 325 | expect(content).toBe(String.raw`\begin{bmatrix} 1 \\ 2 \\ 3 \\ 4 \\ 5 \\ 6 \\ 7 \\ 8 \\ 9 \\ 10 \end{bmatrix}`); 326 | 327 | await expect(page.locator('#data-table-input-1-9-1')).toBeAttached(); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_data_table.spec.mjs:324:28
[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)
[firefox] › test_plotting.spec.mjs:17:1 › Test plotting: tests/test_plotting.spec.mjs#L92
5) [firefox] › test_plotting.spec.mjs:17:1 › Test plotting ─────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 120000ms exceeded. Call log: - waiting for locator('button:has-text("Results of expression does not evaluate to finite and real numeric values")') to be visible 90 | await page.click('#add-math-cell'); 91 | await page.setLatex(7, String.raw`s\left(v=\frac{pi}{2},0<u<20\right)=`); > 92 | await page.waitForSelector('button:has-text("Results of expression does not evaluate to finite and real numeric values")'); | ^ 93 | for (let i = 0; i < 18; i++) { 94 | await page.locator('#plot-expression-7-0 math-field.editable').press('Backspace'); 95 | } at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:92:14
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
5 flaky [chromium] › test_complex.spec.mjs:205:1 › Test conj function ────────────────────────────────── [firefox] › test_data_table.spec.mjs:311:1 › Test auto grow with range output ────────────────── [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 [firefox] › test_plotting.spec.mjs:17:1 › Test plotting ──────────────────────────────────────── 9 skipped 764 passed (20.8m)

Artifacts

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