Skip to content

Merge pull request #310 from mgreminger/interp-plot-bug #1523

Merge pull request #310 from mgreminger/interp-plot-bug

Merge pull request #310 from mgreminger/interp-plot-bug #1523

Triggered via push December 23, 2024 06:57
Status Success
Total duration 25m 47s
Artifacts 2

playwright.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 1 warning, and 1 notice
[chromium] › test_basic.spec.mjs:1430:1 › Negative grouping with fractions with negative denominator: tests/test_basic.spec.mjs#L1445
1) [chromium] › test_basic.spec.mjs:1430:1 › Negative grouping with fractions with negative denominator TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 1443 | await page.waitForSelector('.status-footer', { state: 'detached'}); 1444 | > 1445 | let content = await page.textContent('#result-value-0'); | ^ 1446 | expect(content).toBe('2 \\cdot a - b'); 1447 | 1448 | content = await page.textContent('#result-value-1'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:1445:28
[chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch: tests/test_plotting.spec.mjs#L429
2) [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_basic.spec.mjs:1272:1 › Check parsing error handling impact on displayed results: tests/test_basic.spec.mjs#L1283
3) [firefox] › test_basic.spec.mjs:1272:1 › Check parsing error handling impact on displayed results Error: expect(received).toBeCloseTo(expected, precision) Expected: 5.11 Received: NaN Expected precision: 13 Expected difference: < 0.00000000000005 Received difference: NaN 1281 | // check query result in cell 1 1282 | let content = await page.textContent('#result-value-1'); > 1283 | expect(parseLatexFloat(content)).toBeCloseTo(5.11, precision); | ^ 1284 | 1285 | // create a syntax error in cell 2, should still see result 1286 | await page.locator('#cell-2 >> math-field.editable').type('a'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:1283:36
[firefox] › test_data_table.spec.mjs:664:1 › Test excel file import with headers and no units: tests/test_data_table.spec.mjs#L694
4) [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_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_matrix_addition.spec.mjs:130:1 › Addition with literal and variable matrices: tests/test_matrix_addition.spec.mjs#L137
6) [firefox] › test_matrix_addition.spec.mjs:130:1 › Addition with literal and variable matrices ─ TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 135 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 136 | > 137 | let content = await page.textContent(`#result-value-0`); | ^ 138 | expect(content).toBe(String.raw`\begin{bmatrix} a + 5 & b + 6 \\ c + 7 & d + 8 \end{bmatrix}`); 139 | 140 | // add some numbers for variables that define first matrix at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_addition.spec.mjs:137:28
[firefox] › test_plotting.spec.mjs:559:1 › test scatter plot x has dimension error: tests/test_plotting.spec.mjs#L569
7) [firefox] › test_plotting.spec.mjs:559:1 › test scatter plot x has dimension error ──────────── TimeoutError: locator.waitFor: Timeout 1000ms exceeded. Call log: - waiting for locator('#plot-expression-1-0').locator('text=One or more of the x values has inconsistent units or a dimension error') 567 | await page.waitForSelector('.status-footer', { state: 'detached' }); 568 | > 569 | await page.locator('#plot-expression-1-0 >> text=One or more of the x values has inconsistent units or a dimension error').waitFor({state: 'attached', timeout: 1000}); | ^ 570 | 571 | }); 572 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:569:126
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
7 flaky [chromium] › test_basic.spec.mjs:1430:1 › Negative grouping with fractions with negative denominator [chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch ─────── [firefox] › test_basic.spec.mjs:1272:1 › Check parsing error handling impact on displayed results [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_matrix_addition.spec.mjs:130:1 › Addition with literal and variable matrices ── [firefox] › test_plotting.spec.mjs:559:1 › test scatter plot x has dimension error ───────────── 9 skipped 762 passed (20.3m)

Artifacts

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