Skip to content

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

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

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

Triggered via pull request January 6, 2025 22:46
Status Failure
Total duration 28m 44s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 1 notice
[chromium] › test_database.spec.mjs:176:1 › Test database consistency: tests/test_database.spec.mjs#L194
1) [chromium] › test_database.spec.mjs:176:1 › Test database consistency ───────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 0 Received: 5139 192 | await page.screenshot({ path: `${screenshotDir}/${browserName}_screenshot_reference_check.png`, fullPage: true }); 193 | > 194 | expect(compareImages(`${browserName}_reference.png`, `${browserName}_screenshot_reference_check.png`)).toEqual(0); | ^ 195 | }); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:194:106
[chromium] › test_database.spec.mjs:176:1 › Test database consistency: tests/test_database.spec.mjs#L186
1) [chromium] › test_database.spec.mjs:176:1 › Test database consistency ───────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 5000ms exceeded. Call log: - waiting for locator('h3').locator('text=Retrieving Sheet') to be detached 184 | await page.setViewportSize({ width: width, height: height }); 185 | > 186 | await page.locator('h3 >> text=Retrieving Sheet').waitFor({state: 'detached', timeout: 5000}); | ^ 187 | await page.locator('text=Accept').click(); 188 | await page.waitForSelector('.status-footer', { state: 'detached', timeout: pyodideLoadTimeout }); 189 | await page.keyboard.press('Escape'); // unselect all cells at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:186:53
[chromium] › test_database.spec.mjs:176:1 › Test database consistency: tests/test_database.spec.mjs#L186
1) [chromium] › test_database.spec.mjs:176:1 › Test database consistency ───────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 5000ms exceeded. Call log: - waiting for locator('h3').locator('text=Retrieving Sheet') to be detached - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.i2zubxtikn">Retrieving Sheet</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.i2zubxtikn">Retrieving Sheet</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.i2zubxtikn">Retrieving Sheet</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.i2zubxtikn">Retrieving Sheet</h3> 184 | await page.setViewportSize({ width: width, height: height }); 185 | > 186 | await page.locator('h3 >> text=Retrieving Sheet').waitFor({state: 'detached', timeout: 5000}); | ^ 187 | await page.locator('text=Accept').click(); 188 | await page.waitForSelector('.status-footer', { state: 'detached', timeout: pyodideLoadTimeout }); 189 | await page.keyboard.press('Escape'); // unselect all cells at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:186:53
[firefox] › test_database.spec.mjs:176:1 › Test database consistency: tests/test_database.spec.mjs#L194
2) [firefox] › test_database.spec.mjs:176:1 › Test database consistency ────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 0 Received: 5830 192 | await page.screenshot({ path: `${screenshotDir}/${browserName}_screenshot_reference_check.png`, fullPage: true }); 193 | > 194 | expect(compareImages(`${browserName}_reference.png`, `${browserName}_screenshot_reference_check.png`)).toEqual(0); | ^ 195 | }); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:194:106
[firefox] › test_database.spec.mjs:176:1 › Test database consistency: tests/test_database.spec.mjs#L194
2) [firefox] › test_database.spec.mjs:176:1 › Test database consistency ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 0 Received: 5830 192 | await page.screenshot({ path: `${screenshotDir}/${browserName}_screenshot_reference_check.png`, fullPage: true }); 193 | > 194 | expect(compareImages(`${browserName}_reference.png`, `${browserName}_screenshot_reference_check.png`)).toEqual(0); | ^ 195 | }); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:194:106
[firefox] › test_database.spec.mjs:176:1 › Test database consistency: tests/test_database.spec.mjs#L194
2) [firefox] › test_database.spec.mjs:176:1 › Test database consistency ────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 0 Received: 5830 192 | await page.screenshot({ path: `${screenshotDir}/${browserName}_screenshot_reference_check.png`, fullPage: true }); 193 | > 194 | expect(compareImages(`${browserName}_reference.png`, `${browserName}_screenshot_reference_check.png`)).toEqual(0); | ^ 195 | }); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:194:106
[firefox] › test_plotting.spec.mjs:354:1 › Test copy plot data: tests/test_plotting.spec.mjs#L381
3) [firefox] › test_plotting.spec.mjs:354:1 › Test copy plot data ──────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "xy1xy2[inch][m][inch][]-10-0.2541010100.2542020" Received: "x_function_id_wrapper(352,y1)x_function_id_wrapper(379,y2)[inch][m][inch][]-10-0.2541010100.2542020" 379 | clipboardContents = clipboardContents.replace(/\s+/g, ''); // remove whitespace 380 | > 381 | expect(clipboardContents).toBe('xy1xy2[inch][m][inch][]-10-0.2541010100.2542020'); | ^ 382 | 383 | }); 384 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:381:29
[firefox] › test_plotting.spec.mjs:354:1 › Test copy plot data: tests/test_plotting.spec.mjs#L381
3) [firefox] › test_plotting.spec.mjs:354:1 › Test copy plot data ──────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "xy1xy2[inch][m][inch][]-10-0.2541010100.2542020" Received: "x_function_id_wrapper(11,y1)x_function_id_wrapper(16,y2)[inch][m][inch][]-10-0.2541010100.2542020" 379 | clipboardContents = clipboardContents.replace(/\s+/g, ''); // remove whitespace 380 | > 381 | expect(clipboardContents).toBe('xy1xy2[inch][m][inch][]-10-0.2541010100.2542020'); | ^ 382 | 383 | }); 384 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:381:29
[firefox] › test_plotting.spec.mjs:354:1 › Test copy plot data: tests/test_plotting.spec.mjs#L381
3) [firefox] › test_plotting.spec.mjs:354:1 › Test copy plot data ──────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "xy1xy2[inch][m][inch][]-10-0.2541010100.2542020" Received: "x_function_id_wrapper(11,y1)x_function_id_wrapper(16,y2)[inch][m][inch][]-10-0.2541010100.2542020" 379 | clipboardContents = clipboardContents.replace(/\s+/g, ''); // remove whitespace 380 | > 381 | expect(clipboardContents).toBe('xy1xy2[inch][m][inch][]-10-0.2541010100.2542020'); | ^ 382 | 383 | }); 384 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:381:29
[firefox] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot: tests/test_plotting.spec.mjs#L680
4) [firefox] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot Error: expect(received).toEqual(expected) // deep equality Expected: 0 Received: 5155 678 | fs.copyFileSync(await download.path(), path.join(screenshotDir, scatterPointsImageFile)); 679 | > 680 | expect(compareImages(linearFunctionImageFile, scatterLinesImageFile)).toEqual(0); | ^ 681 | expect(compareImages(scatterLinesImageFile, scatterPointsImageFile)).toBeGreaterThan(100); 682 | }); 683 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:680:73
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
6 failed [chromium] › test_database.spec.mjs:176:1 › Test database consistency ────────────────────────── [firefox] › test_database.spec.mjs:176:1 › Test database consistency ─────────────────────────── [firefox] › test_plotting.spec.mjs:354:1 › Test copy plot data ───────────────────────────────── [firefox] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot [firefox] › test_plotting.spec.mjs:764:1 › Test visual comparison of function plot with identical parametric plot [firefox] › test_symbolic_expression_error_handling.spec.mjs:5:1 › Test handling of symbolic expression error 6 flaky [chromium] › test_data_table.spec.mjs:75:1 › Test computed column with and without units and adding/deleting rows/cols [chromium] › test_matrix_indexing.spec.mjs:103:1 › Noninteger index ──────────────────────────── [chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch ─────── [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error [firefox] › test_matrix_functions.spec.mjs:400:1 › Test count function for symbolic row vector ─ [firefox] › test_plotting.spec.mjs:153:1 › Test plot number of points ────────────────────────── 9 skipped 757 passed (24.7m)

Artifacts

Produced during runtime
Name Size
screenshots Expired
16 MB
test-results Expired
312 MB