Skip to content

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

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

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

Triggered via pull request January 9, 2025 19:30
Status Success
Total duration 24m 9s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 1 warning, 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:153:1 › Test plot number of points: tests/test_plotting.spec.mjs#L225
2) [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
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points: tests/test_plotting.spec.mjs#L225
2) [chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ──────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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_basic.spec.mjs:1302:1 › Check parsing error handling impact on displayed results: tests/test_basic.spec.mjs#L1313
3) [firefox] › test_basic.spec.mjs:1302: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 1311 | // check query result in cell 1 1312 | let content = await page.textContent('#result-value-1'); > 1313 | expect(parseLatexFloat(content)).toBeCloseTo(5.11, precision); | ^ 1314 | 1315 | // create a syntax error in cell 2, should still see result 1316 | await page.locator('#cell-2 >> math-field.editable').type('a'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:1313:36
[firefox] › test_number_format.spec.mjs:124:1 › Test auto exponent: tests/test_number_format.spec.mjs#L138
4) [firefox] › test_number_format.spec.mjs:124:1 › Test auto exponent ──────────────────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 136 | 137 | // check the default number formatting > 138 | let content = await page.textContent('#result-value-0'); | ^ 139 | expect(content).toBe('0.666666666666667') 140 | 141 | content = await page.textContent('#result-value-1'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_number_format.spec.mjs:138:28
[firefox] › test_plotting.spec.mjs:815:1 › test parametric plot with range in x or y expression field: tests/test_plotting.spec.mjs#L829
5) [firefox] › test_plotting.spec.mjs:815:1 › test parametric plot with range in x or y expression field TimeoutError: locator.waitFor: Timeout 1000ms exceeded. Call log: - waiting for locator('svg.error') to be detached - locator resolved to visible <svg width="16" height="16" class="error" aria-hidden="true" viewBox="0 0 32 32" fill="currentColor" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">…</svg> - locator resolved to visible <svg width="16" height="16" class="error" aria-hidden="true" viewBox="0 0 32 32" fill="currentColor" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">…</svg> - locator resolved to visible <svg width="16" height="16" class="error" aria-hidden="true" viewBox="0 0 32 32" fill="currentColor" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">…</svg> - locator resolved to visible <svg width="16" height="16" class="error" aria-hidden="true" viewBox="0 0 32 32" fill="currentColor" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">…</svg> - locator resolved to visible <svg width="16" height="16" class="error" aria-hidden="true" viewBox="0 0 32 32" fill="currentColor" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">…</svg> - locator resolved to visible <svg width="16" height="16" class="error" aria-hidden="true" viewBox="0 0 32 32" fill="currentColor" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">…</svg> - locator resolved to visible <svg width="16" height="16" class="error" aria-hidden="true" viewBox="0 0 32 32" fill="currentColor" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet">…</svg> 827 | await page.waitForSelector('.status-footer', { state: 'detached' }); 828 | > 829 | await page.locator('svg.error').waitFor({state: "detached", timeout: 1000}); | ^ 830 | await expect(page.locator('g.trace.scatter')).toBeVisible(); 831 | }); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:829:35
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_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:153:1 › Test plot number of points ───────────────────────── [firefox] › test_basic.spec.mjs:1302:1 › Check parsing error handling impact on displayed results [firefox] › test_number_format.spec.mjs:124:1 › Test auto exponent ───────────────────────────── [firefox] › test_plotting.spec.mjs:815:1 › test parametric plot with range in x or y expression field 9 skipped 770 passed (20.9m)

Artifacts

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