Skip to content

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

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

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

Triggered via pull request January 3, 2025 19:28
Status Success
Total duration 22m 48s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 1 warning, and 1 notice
[chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch: tests/test_plotting.spec.mjs#L429
1) [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_calc.spec.mjs:417:1 › Test derivative dimensional analysis bug: tests/test_calc.spec.mjs#L422
2) [firefox] › test_calc.spec.mjs:417:1 › Test derivative dimensional analysis bug ─────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 420 | await page.waitForSelector('.status-footer', {state: 'detached'}); 421 | > 422 | let content = await page.textContent('#result-value-0'); | ^ 423 | expect(parseLatexFloat(content)).toBeCloseTo(1, precision); 424 | content = await page.textContent('#result-units-0'); 425 | expect(content).toBe(''); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_calc.spec.mjs:422: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
3) [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:104:1 › Incompatible size addition: tests/test_matrix_addition.spec.mjs#L109
4) [firefox] › test_matrix_addition.spec.mjs:104:1 › Incompatible size addition ────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('.status-footer').locator('text=ShapeError') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('.status-footer').locator('text=ShapeError') 107 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 108 | > 109 | await expect(page.locator('.status-footer >> text=ShapeError')).toBeVisible(); | ^ 110 | }); 111 | 112 | test('nonsquare addition', async () => { at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_addition.spec.mjs:109:67
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:419:1 › test scatter plot x-y scalar vector mismatch ─────── [firefox] › test_calc.spec.mjs:417:1 › Test derivative dimensional analysis bug ──────────────── [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error [firefox] › test_matrix_addition.spec.mjs:104:1 › Incompatible size addition ─────────────────── 9 skipped 765 passed (19.7m)

Artifacts

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