WIP: svelte5 port #1547
Annotations
10 errors, 1 warning, and 1 notice
[chromium] › test_custom_base_units.spec.mjs:269:1 › Test user default config:
tests/test_custom_base_units.spec.mjs#L285
1) [chromium] › test_custom_base_units.spec.mjs:269:1 › Test user default config ─────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: locator('text=The current sheet config matches the user default config')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for locator('text=The current sheet config matches the user default config')
283 | await expect(page.locator('text=The current sheet config differs from the user default config')).toBeAttached();
284 | await page.getByRole('button', { name: "Use This Sheet's Config as the User Default Config"}).click();
> 285 | await expect(page.locator('text=The current sheet config matches the user default config')).toBeAttached();
| ^
286 | await page.getByRole('button', { name: 'Confirm' }).click();
287 |
288 | await page.waitForSelector('text=Updating...', {state: 'detached'});
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:285:95
|
[chromium] › test_custom_base_units.spec.mjs:269:1 › Test user default config:
tests/test_custom_base_units.spec.mjs#L285
1) [chromium] › test_custom_base_units.spec.mjs:269:1 › Test user default config ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: locator('text=The current sheet config matches the user default config')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for locator('text=The current sheet config matches the user default config')
283 | await expect(page.locator('text=The current sheet config differs from the user default config')).toBeAttached();
284 | await page.getByRole('button', { name: "Use This Sheet's Config as the User Default Config"}).click();
> 285 | await expect(page.locator('text=The current sheet config matches the user default config')).toBeAttached();
| ^
286 | await page.getByRole('button', { name: 'Confirm' }).click();
287 |
288 | await page.waitForSelector('text=Updating...', {state: 'detached'});
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:285:95
|
[chromium] › test_custom_base_units.spec.mjs:269:1 › Test user default config:
tests/test_custom_base_units.spec.mjs#L285
1) [chromium] › test_custom_base_units.spec.mjs:269:1 › Test user default config ─────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: locator('text=The current sheet config matches the user default config')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for locator('text=The current sheet config matches the user default config')
283 | await expect(page.locator('text=The current sheet config differs from the user default config')).toBeAttached();
284 | await page.getByRole('button', { name: "Use This Sheet's Config as the User Default Config"}).click();
> 285 | await expect(page.locator('text=The current sheet config matches the user default config')).toBeAttached();
| ^
286 | await page.getByRole('button', { name: 'Confirm' }).click();
287 |
288 | await page.waitForSelector('text=Updating...', {state: 'detached'});
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:285:95
|
[firefox] › test_custom_base_units.spec.mjs:269:1 › Test user default config:
tests/test_custom_base_units.spec.mjs#L285
2) [firefox] › test_custom_base_units.spec.mjs:269:1 › Test user default config ──────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: locator('text=The current sheet config matches the user default config')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for locator('text=The current sheet config matches the user default config')
283 | await expect(page.locator('text=The current sheet config differs from the user default config')).toBeAttached();
284 | await page.getByRole('button', { name: "Use This Sheet's Config as the User Default Config"}).click();
> 285 | await expect(page.locator('text=The current sheet config matches the user default config')).toBeAttached();
| ^
286 | await page.getByRole('button', { name: 'Confirm' }).click();
287 |
288 | await page.waitForSelector('text=Updating...', {state: 'detached'});
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:285:95
|
[firefox] › test_custom_base_units.spec.mjs:269:1 › Test user default config:
tests/test_custom_base_units.spec.mjs#L285
2) [firefox] › test_custom_base_units.spec.mjs:269:1 › Test user default config ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: locator('text=The current sheet config matches the user default config')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for locator('text=The current sheet config matches the user default config')
283 | await expect(page.locator('text=The current sheet config differs from the user default config')).toBeAttached();
284 | await page.getByRole('button', { name: "Use This Sheet's Config as the User Default Config"}).click();
> 285 | await expect(page.locator('text=The current sheet config matches the user default config')).toBeAttached();
| ^
286 | await page.getByRole('button', { name: 'Confirm' }).click();
287 |
288 | await page.waitForSelector('text=Updating...', {state: 'detached'});
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:285:95
|
[firefox] › test_custom_base_units.spec.mjs:269:1 › Test user default config:
tests/test_custom_base_units.spec.mjs#L285
2) [firefox] › test_custom_base_units.spec.mjs:269:1 › Test user default config ──────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: locator('text=The current sheet config matches the user default config')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for locator('text=The current sheet config matches the user default config')
283 | await expect(page.locator('text=The current sheet config differs from the user default config')).toBeAttached();
284 | await page.getByRole('button', { name: "Use This Sheet's Config as the User Default Config"}).click();
> 285 | await expect(page.locator('text=The current sheet config matches the user default config')).toBeAttached();
| ^
286 | await page.getByRole('button', { name: 'Confirm' }).click();
287 |
288 | await page.waitForSelector('text=Updating...', {state: 'detached'});
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:285:95
|
[chromium] › test_database.spec.mjs:176:1 › Test database consistency:
tests/test_database.spec.mjs#L186
3) [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.6zx7xkepzi8">…</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.6zx7xkepzi8">…</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.6zx7xkepzi8">…</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.6zx7xkepzi8">…</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.6zx7xkepzi8">…</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.6zx7xkepzi8">…</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
4) [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
5) [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: 3108
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:6:1 › Test local file save and open:
tests/test_file_save_open.spec.mjs#L71
5) [firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 2719
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
|
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
2 failed
[chromium] › test_custom_base_units.spec.mjs:269:1 › Test user default config ──────────────────
[firefox] › test_custom_base_units.spec.mjs:269:1 › Test user default config ───────────────────
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
765 passed (21.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots
Expired
|
15.9 MB |
|
test-results
Expired
|
135 MB |
|