Skip to content

WIP: svelte5 port #1620

WIP: svelte5 port

WIP: svelte5 port #1620

Triggered via pull request January 25, 2025 20:19
@mgremingermgreminger
synchronize #305
svelte5
Status Success
Total duration 23m 57s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 notice
[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 ───────────────────────── 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.zip3wq6phlr">…</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.zip3wq6phlr">…</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.zip3wq6phlr">…</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.zip3wq6phlr">…</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.zip3wq6phlr">…</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.zip3wq6phlr">…</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
[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 - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.pbkfva2458r">…</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.pbkfva2458r">…</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.pbkfva2458r">…</h3> - locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.pbkfva2458r">…</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
[chromium] › test_plotting.spec.mjs:110:1 › Test plot dims with 0 start of range: tests/test_plotting.spec.mjs#L115
2) [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
3) [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: 3102 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
4) [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)
🎭 Playwright Run Summary
4 flaky [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: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 781 passed (21.1m)

Artifacts

Produced during runtime
Name Size
screenshots
13.2 MB
test-results Expired
93.6 MB