Skip to content

WIP: svelte5 port #1543

WIP: svelte5 port

WIP: svelte5 port #1543

Triggered via pull request December 31, 2024 23:36
@mgremingermgreminger
synchronize #305
svelte5
Status Failure
Total duration 33m 28s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 1 notice
[chromium] › test_custom_base_units.spec.mjs:15:1 › Test custom base units for math cells: tests/test_custom_base_units.spec.mjs#L39
1) [chromium] › test_custom_base_units.spec.mjs:15:1 › Test custom base units for math cells ───── Error: expect(received).toBeCloseTo(expected, precision) Expected: 1000 Received: 1 Expected precision: 13 Expected difference: < 0.00000000000005 Received difference: 999 37 | 38 | let content = await page.textContent('#result-value-0'); > 39 | expect(parseLatexFloat(content)).toBeCloseTo(1000, precision); | ^ 40 | content = await page.textContent('#result-units-0'); 41 | expect(content).toBe('g'); 42 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:39:36
[chromium] › test_custom_base_units.spec.mjs:15:1 › Test custom base units for math cells: tests/test_custom_base_units.spec.mjs#L39
1) [chromium] › test_custom_base_units.spec.mjs:15:1 › Test custom base units for math cells ───── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 1000 Received: 1 Expected precision: 13 Expected difference: < 0.00000000000005 Received difference: 999 37 | 38 | let content = await page.textContent('#result-value-0'); > 39 | expect(parseLatexFloat(content)).toBeCloseTo(1000, precision); | ^ 40 | content = await page.textContent('#result-units-0'); 41 | expect(content).toBe('g'); 42 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:39:36
[chromium] › test_custom_base_units.spec.mjs:15:1 › Test custom base units for math cells: tests/test_custom_base_units.spec.mjs#L39
1) [chromium] › test_custom_base_units.spec.mjs:15:1 › Test custom base units for math cells ───── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 1000 Received: 1 Expected precision: 13 Expected difference: < 0.00000000000005 Received difference: 999 37 | 38 | let content = await page.textContent('#result-value-0'); > 39 | expect(parseLatexFloat(content)).toBeCloseTo(1000, precision); | ^ 40 | content = await page.textContent('#result-units-0'); 41 | expect(content).toBe('g'); 42 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:39:36
[chromium] › test_custom_base_units.spec.mjs:159:1 › Test custom base units for scatter plot: tests/test_custom_base_units.spec.mjs#L174
2) [chromium] › test_custom_base_units.spec.mjs:159:1 › Test custom base units for scatter plot ── Error: Timed out 10000ms waiting for expect(locator).toBeAttached() Locator: locator('text=tonne') Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 10000ms - waiting for locator('text=tonne') 172 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 173 | > 174 | await expect(page.locator('text=tonne')).toBeAttached(); | ^ 175 | await expect(page.locator('svg >> text=mm')).toBeAttached(); 176 | 177 | // make sure cell level units supersede sheet level selections at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:174:44
[chromium] › test_custom_base_units.spec.mjs:159:1 › Test custom base units for scatter plot: tests/test_custom_base_units.spec.mjs#L174
2) [chromium] › test_custom_base_units.spec.mjs:159:1 › Test custom base units for scatter plot ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeAttached() Locator: locator('text=tonne') Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 10000ms - waiting for locator('text=tonne') 172 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 173 | > 174 | await expect(page.locator('text=tonne')).toBeAttached(); | ^ 175 | await expect(page.locator('svg >> text=mm')).toBeAttached(); 176 | 177 | // make sure cell level units supersede sheet level selections at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:174:44
[chromium] › test_custom_base_units.spec.mjs:159:1 › Test custom base units for scatter plot: tests/test_custom_base_units.spec.mjs#L174
2) [chromium] › test_custom_base_units.spec.mjs:159:1 › Test custom base units for scatter plot ── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeAttached() Locator: locator('text=tonne') Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 10000ms - waiting for locator('text=tonne') 172 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 173 | > 174 | await expect(page.locator('text=tonne')).toBeAttached(); | ^ 175 | await expect(page.locator('svg >> text=mm')).toBeAttached(); 176 | 177 | // make sure cell level units supersede sheet level selections at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:174:44
[chromium] › test_system_solve.spec.mjs:382:1 › Test restarting pyodide on a calculation that has caused sympy to hang: tests/test_system_solve.spec.mjs#L391
3) [chromium] › test_system_solve.spec.mjs:382:1 › Test restarting pyodide on a calculation that has caused sympy to hang TimeoutError: page.click: Timeout 120000ms exceeded. Call log: - waiting for locator('text=Restart Pyodide') 389 | 390 | await page.waitForTimeout(2000); > 391 | await page.click('text=Restart Pyodide'); | ^ 392 | 393 | await page.forceDeleteCell(0); 394 | await page.click('#add-math-cell'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_system_solve.spec.mjs:391:14
[chromium] › test_system_solve.spec.mjs:382:1 › Test restarting pyodide on a calculation that has caused sympy to hang: tests/test_system_solve.spec.mjs#L391
3) [chromium] › test_system_solve.spec.mjs:382:1 › Test restarting pyodide on a calculation that has caused sympy to hang Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 120000ms exceeded. Call log: - waiting for locator('text=Restart Pyodide') 389 | 390 | await page.waitForTimeout(2000); > 391 | await page.click('text=Restart Pyodide'); | ^ 392 | 393 | await page.forceDeleteCell(0); 394 | await page.click('#add-math-cell'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_system_solve.spec.mjs:391:14
[chromium] › test_system_solve.spec.mjs:382:1 › Test restarting pyodide on a calculation that has caused sympy to hang: tests/test_system_solve.spec.mjs#L391
3) [chromium] › test_system_solve.spec.mjs:382:1 › Test restarting pyodide on a calculation that has caused sympy to hang Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 120000ms exceeded. Call log: - waiting for locator('text=Restart Pyodide') 389 | 390 | await page.waitForTimeout(2000); > 391 | await page.click('text=Restart Pyodide'); | ^ 392 | 393 | await page.forceDeleteCell(0); 394 | await page.click('#add-math-cell'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_system_solve.spec.mjs:391:14
[firefox] › test_custom_base_units.spec.mjs:15:1 › Test custom base units for math cells: tests/test_custom_base_units.spec.mjs#L39
4) [firefox] › test_custom_base_units.spec.mjs:15:1 › Test custom base units for math cells ────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 1000 Received: 1 Expected precision: 13 Expected difference: < 0.00000000000005 Received difference: 999 37 | 38 | let content = await page.textContent('#result-value-0'); > 39 | expect(parseLatexFloat(content)).toBeCloseTo(1000, precision); | ^ 40 | content = await page.textContent('#result-units-0'); 41 | expect(content).toBe('g'); 42 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:39:36
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 failed [chromium] › test_custom_base_units.spec.mjs:15:1 › Test custom base units for math cells ────── [chromium] › test_custom_base_units.spec.mjs:159:1 › Test custom base units for scatter plot ─── [chromium] › test_system_solve.spec.mjs:382:1 › Test restarting pyodide on a calculation that has caused sympy to hang [firefox] › test_custom_base_units.spec.mjs:15:1 › Test custom base units for math cells ─────── [firefox] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells ────── [firefox] › test_custom_base_units.spec.mjs:159:1 › Test custom base units for scatter plot ──── [firefox] › test_system_solve.spec.mjs:382:1 › Test restarting pyodide on a calculation that has caused sympy to hang 4 flaky [chromium] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells ───── [chromium] › test_database.spec.mjs:176:1 › Test database consistency ────────────────────────── [chromium] › test_plotting.spec.mjs:110:1 › Test plot dims with 0 start of range ─────────────── [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error 9 skipped 760 passed (29.8m)

Artifacts

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