Migrate to React 18 createRoot API #1790
Annotations
4 errors, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/widgets/stickers.spec.ts#L76
1) widgets/stickers.spec.ts:103:9 › Stickers › should send a sticker to multiple rooms ───────────
Error: expect.toHaveAttribute: Error: strict mode violation: locator('.mx_EventTile_sticker > a') resolved to 4 elements:
1) <a aria-label="12:06" href="https://matrix.to/#/!wKbqyDYgJdAYXWKxEe:localhost/~!wKbqyDYgJdAYXWKxEe:localhost:m1729598808297.1?via=localhost"></a> aka locator('li').filter({ hasText: 'SallyS' }).getByLabel(':06')
2) <a aria-label="12:06" href="https://matrix.to/#/!wKbqyDYgJdAYXWKxEe:localhost/~!wKbqyDYgJdAYXWKxEe:localhost:m1729598808298.2?via=localhost"></a> aka getByLabel(':06').nth(1)
3) <a aria-label="12:06" href="https://matrix.to/#/!wKbqyDYgJdAYXWKxEe:localhost/~!wKbqyDYgJdAYXWKxEe:localhost:m1729598808299.3?via=localhost"></a> aka getByLabel(':06').nth(2)
4) <a aria-label="12:06" href="https://matrix.to/#/!wKbqyDYgJdAYXWKxEe:localhost/~!wKbqyDYgJdAYXWKxEe:localhost:m1729598808300.4?via=localhost">…</a> aka locator('a').filter({ hasText: ':06' })
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.mx_EventTile_sticker > a')
74 | async function expectTimelineSticker(page: Page, roomId: string) {
75 | // Make sure it's in the right room
> 76 | await expect(page.locator(".mx_EventTile_sticker > a")).toHaveAttribute("href", new RegExp(`/${roomId}/`));
| ^
77 |
78 | // Make sure the image points at the sticker image. We will briefly show it
79 | // using the thumbnail URL, but as soon as that fails, we will switch to the
at expectTimelineSticker (/home/runner/work/element-web/element-web/playwright/e2e/widgets/stickers.spec.ts:76:61)
at /home/runner/work/element-web/element-web/playwright/e2e/widgets/stickers.spec.ts:134:15
|
Run Playwright tests:
playwright/e2e/widgets/stickers.spec.ts#L76
1) widgets/stickers.spec.ts:103:9 › Stickers › should send a sticker to multiple rooms ───────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toHaveAttribute: Error: strict mode violation: locator('.mx_EventTile_sticker > a') resolved to 4 elements:
1) <a aria-label="12:06" href="https://matrix.to/#/!oxdrOhMQPeoXtflsRg:localhost/~!oxdrOhMQPeoXtflsRg:localhost:m1729598817100.1?via=localhost"></a> aka locator('li').filter({ hasText: 'SallyS' }).getByLabel(':06')
2) <a aria-label="12:06" href="https://matrix.to/#/!oxdrOhMQPeoXtflsRg:localhost/~!oxdrOhMQPeoXtflsRg:localhost:m1729598817101.2?via=localhost"></a> aka getByLabel(':06').nth(1)
3) <a aria-label="12:06" href="https://matrix.to/#/!oxdrOhMQPeoXtflsRg:localhost/~!oxdrOhMQPeoXtflsRg:localhost:m1729598817102.3?via=localhost"></a> aka getByLabel(':06').nth(2)
4) <a aria-label="12:06" href="https://matrix.to/#/!oxdrOhMQPeoXtflsRg:localhost/~!oxdrOhMQPeoXtflsRg:localhost:m1729598817103.4?via=localhost">…</a> aka locator('a').filter({ hasText: ':06' })
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.mx_EventTile_sticker > a')
74 | async function expectTimelineSticker(page: Page, roomId: string) {
75 | // Make sure it's in the right room
> 76 | await expect(page.locator(".mx_EventTile_sticker > a")).toHaveAttribute("href", new RegExp(`/${roomId}/`));
| ^
77 |
78 | // Make sure the image points at the sticker image. We will briefly show it
79 | // using the thumbnail URL, but as soon as that fails, we will switch to the
at expectTimelineSticker (/home/runner/work/element-web/element-web/playwright/e2e/widgets/stickers.spec.ts:76:61)
at /home/runner/work/element-web/element-web/playwright/e2e/widgets/stickers.spec.ts:134:15
|
Run Playwright tests:
playwright/e2e/widgets/stickers.spec.ts#L76
1) widgets/stickers.spec.ts:103:9 › Stickers › should send a sticker to multiple rooms ───────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toHaveAttribute: Error: strict mode violation: locator('.mx_EventTile_sticker > a') resolved to 4 elements:
1) <a aria-label="12:07" href="https://matrix.to/#/!fddQrsoxSphXiKboAY:localhost/~!fddQrsoxSphXiKboAY:localhost:m1729598825813.1?via=localhost"></a> aka locator('li').filter({ hasText: 'SallyS' }).getByLabel(':07')
2) <a aria-label="12:07" href="https://matrix.to/#/!fddQrsoxSphXiKboAY:localhost/~!fddQrsoxSphXiKboAY:localhost:m1729598825814.2?via=localhost"></a> aka getByLabel(':07').nth(1)
3) <a aria-label="12:07" href="https://matrix.to/#/!fddQrsoxSphXiKboAY:localhost/~!fddQrsoxSphXiKboAY:localhost:m1729598825815.3?via=localhost"></a> aka getByLabel(':07').nth(2)
4) <a aria-label="12:07" href="https://matrix.to/#/!fddQrsoxSphXiKboAY:localhost/~!fddQrsoxSphXiKboAY:localhost:m1729598825816.4?via=localhost">…</a> aka locator('a').filter({ hasText: ':07' })
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('.mx_EventTile_sticker > a')
74 | async function expectTimelineSticker(page: Page, roomId: string) {
75 | // Make sure it's in the right room
> 76 | await expect(page.locator(".mx_EventTile_sticker > a")).toHaveAttribute("href", new RegExp(`/${roomId}/`));
| ^
77 |
78 | // Make sure the image points at the sticker image. We will briefly show it
79 | // using the thumbnail URL, but as soon as that fails, we will switch to the
at expectTimelineSticker (/home/runner/work/element-web/element-web/playwright/e2e/widgets/stickers.spec.ts:76:61)
at /home/runner/work/element-web/element-web/playwright/e2e/widgets/stickers.spec.ts:134:15
|
Run Playwright tests
Process completed with exit code 1.
|
Run Playwright tests:
timeline/timeline.spec.ts#L1
timeline/timeline.spec.ts took 2.6m
|
Run Playwright tests:
spotlight/spotlight.spec.ts#L1
spotlight/spotlight.spec.ts took 2.1m
|
Run Playwright tests:
spaces/threads-activity-centre/threadsActivityCentre.spec.ts#L1
spaces/threads-activity-centre/threadsActivityCentre.spec.ts took 1.6m
|
Run Playwright tests:
threads/threads.spec.ts#L1
threads/threads.spec.ts took 34.3s
|
Run Playwright tests:
user-onboarding/user-onboarding-new.spec.ts#L1
user-onboarding/user-onboarding-new.spec.ts took 31.2s
|
Run Playwright tests
1 failed
widgets/stickers.spec.ts:103:9 › Stickers › should send a sticker to multiple rooms ────────────
3 skipped
67 passed (9.4m)
|
Loading