Skip to content

WIP: svelte5 port #1502

WIP: svelte5 port

WIP: svelte5 port #1502

Triggered via pull request December 8, 2024 17:56
@mgremingermgreminger
synchronize #305
svelte5
Status Success
Total duration 26m 47s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 1 warning, and 1 notice
[chromium] › test_complex.spec.mjs:205:1 › Test conj function: tests/test_complex.spec.mjs#L224
1) [chromium] › test_complex.spec.mjs:205:1 › Test conj function ───────────────────────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 222 | await page.locator('#cell-2 >> text=Dimension Error').waitFor({state: "attached", timeout: 1000}); 223 | > 224 | let content = complexLatex(await page.textContent('#result-value-0')); | ^ 225 | expect(content.re).toBeCloseTo(-.001, precision); 226 | expect(content.im).toBeCloseTo(-.002, precision); 227 | content = await page.textContent('#result-units-0'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_complex.spec.mjs:224:41
[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_checkpoints.spec.mjs:15:1 › Test autosave checkpoints: tests/test_checkpoints.spec.mjs#L59
3) [firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ──────────────────────── TimeoutError: locator.waitFor: Timeout 120000ms exceeded. Call log: - waiting for locator('text=Checkpoint 3') to be detached - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved to visible <p>Checkpoint 3</p> - locator resolved
[firefox] › test_data_table.spec.mjs:762:1 › Test excel file without headers: tests/test_data_table.spec.mjs#L791
4) [firefox] › test_data_table.spec.mjs:762:1 › Test excel file without headers ────────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 789 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 790 | > 791 | let content = await page.textContent(`#result-value-0`); | ^ 792 | expect(content).toBe(String.raw`\begin{bmatrix} 4.1 \\ 0 \\ 3 \\ 1 \\ -20.3 \end{bmatrix}`); 793 | 794 | content = await page.textContent(`#result-value-1`); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_data_table.spec.mjs:791:28
[firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open: tests/test_file_save_open.spec.mjs#L96
5) [firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open ────────────────── TimeoutError: locator.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 94 | await page.waitForSelector('.status-footer', { state: 'detached' }); 95 | > 96 | content = await page.locator('#result-value-0').textContent(); | ^ 97 | expect(parseLatexFloat(content)).toBeCloseTo(74, precision); 98 | content = await page.locator('#result-units-0').textContent(); 99 | expect(content).toBe('in'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_file_save_open.spec.mjs:96:51
[firefox] › test_latex_scientific_notation.spec.mjs:51:1 › Test exponent error checking for exponents applied to numbers with units : tests/test_latex_scientific_notation.spec.mjs#L53
6) [firefox] › test_latex_scientific_notation.spec.mjs:51:1 › Test exponent error checking for exponents applied to numbers with units Error: Timed out 10000ms waiting for expect(locator).toBeAttached() Locator: locator('#cell-0').locator('text=Exponent cannot be applied directly to a number with units') Expected: attached Received: <element(s) not found> Call log: - expect.toBeAttached with timeout 10000ms - waiting for locator('#cell-0').locator('text=Exponent cannot be applied directly to a number with units') 51 | test('Test exponent error checking for exponents applied to numbers with units ', async () => { 52 | await page.setLatex(0, String.raw`2\cdot10^2\left\lbrack m\right\rbrack^2=`); > 53 | await expect(page.locator("#cell-0 >> text=Exponent cannot be applied directly to a number with units")).toBeAttached(); | ^ 54 | 55 | await page.setLatex(0, String.raw`2\times10^2\left\lbrack m\right\rbrack^2=`); 56 | await expect(page.locator("#cell-0 >> text=Exponent cannot be applied directly to a number with units")).toBeAttached(); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_latex_scientific_notation.spec.mjs:53:108
[firefox] › test_matrix_transpose.spec.mjs:15:1 › Matrix transpose numeric using function: tests/test_matrix_transpose.spec.mjs#L20
7) [firefox] › test_matrix_transpose.spec.mjs:15:1 › Matrix transpose numeric using function ───── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 18 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 19 | > 20 | let content = await page.textContent(`#result-value-0`); | ^ 21 | expect(content).toBe(String.raw`\begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix}`); 22 | }); 23 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_transpose.spec.mjs:20:28
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_complex.spec.mjs:205:1 › Test conj function ────────────────────────────────── [chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ───────────────────────── [firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ───────────────────────── [firefox] › test_data_table.spec.mjs:762:1 › Test excel file without headers ─────────────────── [firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open ─────────────────── [firefox] › test_latex_scientific_notation.spec.mjs:51:1 › Test exponent error checking for exponents applied to numbers with units [firefox] › test_matrix_transpose.spec.mjs:15:1 › Matrix transpose numeric using function ────── 9 skipped 760 passed (20.9m)

Artifacts

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