Phase 2 Refactor MImageBody to MVVM and remove legacy component #1501
Annotations
7 errors and 1 notice
|
Run Playwright tests
Process completed with exit code 1.
|
|
Run Playwright tests:
apps/web/playwright/e2e/right-panel/file-panel.spec.ts#L97
2) [Chrome] › playwright/e2e/right-panel/file-panel.spec.ts:55:9 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: locator('.mx_FilePanel').locator('.mx_RoomView_MessageList').locator('.mx_EventTile_mediaLine.mx_EventTile_image .mx_MImageBody').locator('img[class=\'mx_MImageBody_thumbnail\']')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.mx_FilePanel').locator('.mx_RoomView_MessageList').locator('.mx_EventTile_mediaLine.mx_EventTile_image .mx_MImageBody').locator('img[class=\'mx_MImageBody_thumbnail\']')
95 | const image = filePanelMessageList.locator(".mx_EventTile_mediaLine.mx_EventTile_image .mx_MImageBody");
96 | // Assert that the image is specified as thumbnail and has the alt string
> 97 | await expect(image.locator("img[class='mx_MImageBody_thumbnail']")).toBeVisible();
| ^
98 | await expect(image.locator("img[alt='riot.png']")).toBeVisible();
99 |
100 | // Detect the audio file
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/right-panel/file-panel.spec.ts:97:81
|
|
Run Playwright tests:
apps/web/playwright/e2e/right-panel/file-panel.spec.ts#L97
2) [Chrome] › playwright/e2e/right-panel/file-panel.spec.ts:55:9 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: locator('.mx_FilePanel').locator('.mx_RoomView_MessageList').locator('.mx_EventTile_mediaLine.mx_EventTile_image .mx_MImageBody').locator('img[class=\'mx_MImageBody_thumbnail\']')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.mx_FilePanel').locator('.mx_RoomView_MessageList').locator('.mx_EventTile_mediaLine.mx_EventTile_image .mx_MImageBody').locator('img[class=\'mx_MImageBody_thumbnail\']')
95 | const image = filePanelMessageList.locator(".mx_EventTile_mediaLine.mx_EventTile_image .mx_MImageBody");
96 | // Assert that the image is specified as thumbnail and has the alt string
> 97 | await expect(image.locator("img[class='mx_MImageBody_thumbnail']")).toBeVisible();
| ^
98 | await expect(image.locator("img[alt='riot.png']")).toBeVisible();
99 |
100 | // Detect the audio file
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/right-panel/file-panel.spec.ts:97:81
|
|
Run Playwright tests:
apps/web/playwright/e2e/right-panel/file-panel.spec.ts#L97
2) [Chrome] › playwright/e2e/right-panel/file-panel.spec.ts:55:9 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
Error: expect(locator).toBeVisible() failed
Locator: locator('.mx_FilePanel').locator('.mx_RoomView_MessageList').locator('.mx_EventTile_mediaLine.mx_EventTile_image .mx_MImageBody').locator('img[class=\'mx_MImageBody_thumbnail\']')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('.mx_FilePanel').locator('.mx_RoomView_MessageList').locator('.mx_EventTile_mediaLine.mx_EventTile_image .mx_MImageBody').locator('img[class=\'mx_MImageBody_thumbnail\']')
95 | const image = filePanelMessageList.locator(".mx_EventTile_mediaLine.mx_EventTile_image .mx_MImageBody");
96 | // Assert that the image is specified as thumbnail and has the alt string
> 97 | await expect(image.locator("img[class='mx_MImageBody_thumbnail']")).toBeVisible();
| ^
98 | await expect(image.locator("img[alt='riot.png']")).toBeVisible();
99 |
100 | // Detect the audio file
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/right-panel/file-panel.spec.ts:97:81
|
|
Run Playwright tests:
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
|
|
Run Playwright tests:
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
|
|
Run Playwright tests:
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
|
|
Run Playwright tests
2 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
[Chrome] › playwright/e2e/right-panel/file-panel.spec.ts:55:9 › FilePanel › render › should list tiles on the panel @no-firefox @no-webkit @screenshot
3 skipped
128 passed (13.0m)
|
Loading