Skip to content

Merge pull request #297 from mgreminger/set-default-config #1492

Merge pull request #297 from mgreminger/set-default-config

Merge pull request #297 from mgreminger/set-default-config #1492

Triggered via push November 24, 2024 03:42
Status Success
Total duration 23m 7s
Artifacts 2

playwright.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 2 warnings, and 1 notice
[chromium] › test_matrix_multiplication.spec.mjs:173:1 › Mixed compatible units with square variable matrix times variable matrix using matrix multiplication operator: tests/test_matrix_multiplication.spec.mjs#L184
1) [chromium] › test_matrix_multiplication.spec.mjs:173:1 › Mixed compatible units with square variable matrix times variable matrix using matrix multiplication operator TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 182 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 183 | > 184 | let content = await page.textContent(`#result-value-0`); | ^ 185 | expect(content).toBe('\\begin{bmatrix} 5 \\cdot a + 7 \\cdot b & 6 \\cdot a + 8 \\cdot b \\\\ 5 \\cdot c + 7 \\cdot d & 6 \\cdot c + 8 \\cdot d \\end{bmatrix}'); 186 | 187 | // add some numbers for variables that define first matrix at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_multiplication.spec.mjs:184: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_data_table.spec.mjs:860:1 › Test csv export and reload: tests/test_data_table.spec.mjs#L889
3) [firefox] › test_data_table.spec.mjs:860:1 › Test csv export and reload ─────────────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 887 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 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`); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_data_table.spec.mjs:889:28
[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_generated_code.spec.mjs:351:1 › Numpy function rewrite fix: tests/test_generated_code.spec.mjs#L357
5) [firefox] › test_generated_code.spec.mjs:351:1 › Numpy function rewrite fix, sympy #25514 ───── TimeoutError: locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator('#code-gen-1') 355 | await page.setLatex(1, String.raw`y\left(x=1\right)=`); 356 | > 357 | await page.locator('#code-gen-1').click(); | ^ 358 | 359 | let content = await page.locator('code').textContent(); 360 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_generated_code.spec.mjs:357:37
[firefox] › test_matrix_functions.spec.mjs:428:1 › Test count error handling for non-matrix input: tests/test_matrix_functions.spec.mjs#L431
6) [firefox] › test_matrix_functions.spec.mjs:428:1 › Test count error handling for non-matrix input Error: Timed out 10000ms waiting for expect(locator).toBeAttached() Locator: locator('text=Count function requires a vector or matrix as input') Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 10000ms - waiting for locator('text=Count function requires a vector or matrix as input') 429 | await page.setLatex(0, String.raw`\mathrm{count}\left(a\right)=`); 430 | > 431 | await expect(page.locator('text=Count function requires a vector or matrix as input')).toBeAttached(); | ^ 432 | }); 433 | 434 | test('Test sum function for multiple scalar inputs with units', async () => { at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_functions.spec.mjs:431:90
[firefox] › test_matrix_multiplication.spec.mjs:521:1 › Symbolic matrix multiplication: tests/test_matrix_multiplication.spec.mjs#L526
7) [firefox] › test_matrix_multiplication.spec.mjs:521:1 › Symbolic matrix multiplication ──────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 524 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 525 | > 526 | let content = await page.textContent('#result-value-0'); | ^ 527 | expect(content).toBe(String.raw`A \cdot B`); 528 | }); 529 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_multiplication.spec.mjs:526:28
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
7 flaky [chromium] › test_matrix_multiplication.spec.mjs:173:1 › Mixed compatible units with square variable matrix times variable matrix using matrix multiplication operator [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_generated_code.spec.mjs:351:1 › Numpy function rewrite fix, sympy #25514 ────── [firefox] › test_matrix_functions.spec.mjs:428:1 › Test count error handling for non-matrix input [firefox] › test_matrix_multiplication.spec.mjs:521:1 › Symbolic matrix multiplication ───────── 9 skipped 760 passed (20.0m)

Artifacts

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