WIP: svelte5 port #1534
Annotations
5 errors, 1 warning, and 1 notice
[chromium] › test_basic.spec.mjs:1514:1 › Test cell drag to reorder:
tests/test_basic.spec.mjs#L1541
1) [chromium] › test_basic.spec.mjs:1514:1 › Test cell drag to reorder ───────────────────────────
Error: expect(received).toBeCloseTo(expected, precision)
Expected: 1
Received: 0
Expected precision: 13
Expected difference: < 0.00000000000005
Received difference: 1
1539 |
1540 | let content = await page.textContent('#result-value-0');
> 1541 | expect(parseLatexFloat(content)).toBeCloseTo(1, precision);
| ^
1542 |
1543 | content = await page.textContent('#result-value-1');
1544 | expect(parseLatexFloat(content)).toBeCloseTo(2, precision);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:1541:36
|
[chromium] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints:
tests/test_checkpoints.spec.mjs#L71
2) [chromium] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ───────────────────────
TimeoutError: locator.waitFor: Timeout 120000ms exceeded.
Call log:
- waiting for getByRole('heading', { name: 'New Sheet' }) to be visible
69 |
70 | await page.goBack();
> 71 | await page.getByRole('heading', { name: 'New Sheet' }).waitFor();
| ^
72 |
73 | });
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_checkpoints.spec.mjs:71:58
|
[chromium] › test_plotting.spec.mjs:110:1 › Test plot dims with 0 start of range:
tests/test_plotting.spec.mjs#L115
3) [chromium] › test_plotting.spec.mjs:110:1 › Test plot dims with 0 start of range ──────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('div.plot-container')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('div.plot-container')
113 | await page.click('#add-math-cell');
114 | await page.setLatex(1, String.raw`y\left(0\le x\le 10\right)=\left[m\right]`);
> 115 | await expect(page.locator('div.plot-container')).toBeVisible();
| ^
116 |
117 | await page.waitForSelector('.status-footer', { state: 'detached' });
118 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:115:52
|
[firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open:
tests/test_file_save_open.spec.mjs#L71
4) [firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open ──────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 859
69 | await page.screenshot({ path: `${screenshotDir}/${browserName}_screenshot_file_open_save_check.png`, fullPage: false });
70 |
> 71 | expect(compareImages(`${browserName}_screenshot_file_open_save.png`, `${browserName}_screenshot_file_open_save_check.png`)).toEqual(0);
| ^
72 |
73 | // Attempt to open an image file to make sure there is not a crash and that there is an error message shown
74 | page.once('filechooser', async (fileChooser) => {
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_file_save_open.spec.mjs:71:127
|
[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
5) [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)
|
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_basic.spec.mjs:1514:1 › Test cell drag to reorder ────────────────────────────
[chromium] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ────────────────────────
[chromium] › test_plotting.spec.mjs:110:1 › Test plot dims with 0 start of range ───────────────
[firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open ───────────────────
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error
9 skipped
766 passed (20.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots
Expired
|
15.9 MB |
|
test-results
Expired
|
118 MB |
|