Phase 2 Refactor MImageBody to MVVM and remove legacy component #1505
build-and-test.yaml
on: pull_request
Build Element Web
2m 14s
Matrix: playwright_ew
Downstream Playwright tests [element-modules]
/
Run Playwright end-to-end tests & upload html report
Matrix: Desktop Linux
Matrix: Desktop Windows
Waiting for pending jobs
end-to-end-tests
32s
Annotations
6 errors and 1 notice
|
Run Tests [Chrome] 2/4
Process completed with exit code 1.
|
|
[Chrome] › playwright/e2e/modules/custom-component.spec.ts:115:9 › Custom Component API › basic functionality › should allow downloading media when the allowDownloading hint is set to true:
apps/web/playwright/e2e/modules/custom-component.spec.ts#L135
1) [Chrome] › playwright/e2e/modules/custom-component.spec.ts:115:9 › Custom Component API › basic functionality › should allow downloading media when the allowDownloading hint is set to true
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByLabel('Image view').getByLabel('Download')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByLabel('Image view').getByLabel('Download')
133 | await expect(page.getByRole("button", { name: "Download" })).toBeVisible();
134 | await imgTile.click();
> 135 | await expect(page.getByLabel("Image view").getByLabel("Download")).toBeVisible();
| ^
136 | });
137 | test(
138 | "should render the next registered component if the filter function throws",
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/modules/custom-component.spec.ts:135:80
|
|
[Chrome] › playwright/e2e/modules/custom-component.spec.ts:115:9 › Custom Component API › basic functionality › should allow downloading media when the allowDownloading hint is set to true:
apps/web/playwright/e2e/modules/custom-component.spec.ts#L135
1) [Chrome] › playwright/e2e/modules/custom-component.spec.ts:115:9 › Custom Component API › basic functionality › should allow downloading media when the allowDownloading hint is set to true
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByLabel('Image view').getByLabel('Download')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByLabel('Image view').getByLabel('Download')
133 | await expect(page.getByRole("button", { name: "Download" })).toBeVisible();
134 | await imgTile.click();
> 135 | await expect(page.getByLabel("Image view").getByLabel("Download")).toBeVisible();
| ^
136 | });
137 | test(
138 | "should render the next registered component if the filter function throws",
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/modules/custom-component.spec.ts:135:80
|
|
[Chrome] › playwright/e2e/modules/custom-component.spec.ts:115:9 › Custom Component API › basic functionality › should allow downloading media when the allowDownloading hint is set to true:
apps/web/playwright/e2e/modules/custom-component.spec.ts#L135
1) [Chrome] › playwright/e2e/modules/custom-component.spec.ts:115:9 › Custom Component API › basic functionality › should allow downloading media when the allowDownloading hint is set to true
Error: expect(locator).toBeVisible() failed
Locator: getByLabel('Image view').getByLabel('Download')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByLabel('Image view').getByLabel('Download')
133 | await expect(page.getByRole("button", { name: "Download" })).toBeVisible();
134 | await imgTile.click();
> 135 | await expect(page.getByLabel("Image view").getByLabel("Download")).toBeVisible();
| ^
136 | });
137 | test(
138 | "should render the next registered component if the filter function throws",
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/modules/custom-component.spec.ts:135:80
|
|
end-to-end-tests
Process completed with exit code 1.
|
|
end-to-end-tests
1 tests failed, skipping stale screenshot reporter.
|
|
🎭 Playwright Run Summary
1 failed
[Chrome] › playwright/e2e/modules/custom-component.spec.ts:115:9 › Custom Component API › basic functionality › should allow downloading media when the allowDownloading hint is set to true
3 skipped
129 passed (12.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-Chrome-2
|
5.53 MB |
sha256:aeddf1c9c676d7c9f63cd728f579c851e2db801914f6aa37e614422e8903eb4c
|
|
|
html-report
|
10.8 MB |
sha256:0b6aec250b684e055baf25ccf145a50223fa013ad013625f9d9a6f12da78b2f6
|
|