Fix widgets getting stuck in loading states #13283
end-to-end-tests.yaml
on: pull_request
Build Element-Web
3m 48s
Matrix: playwright
Downstream Playwright tests [element-modules]
/
Run Playwright end-to-end tests & upload html report
end-to-end-tests
1m 50s
Annotations
3 errors and 6 notices
|
[Chrome] › playwright/e2e/composer/CIDER.spec.ts:152:13 › Composer › CIDER › can send mention @screenshot:
playwright/e2e/composer/CIDER.spec.ts#L167
1) [Chrome] › playwright/e2e/composer/CIDER.spec.ts:152:13 › Composer › CIDER › can send mention @screenshot
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByRole('textbox', { name: 'Send an unencrypted message…' })
13 pixels (ratio 0.01 of all image pixels) are different.
Snapshot: mention.png
Call log:
- Expect "toHaveScreenshot(mention.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByRole('textbox', { name: 'Send an unencrypted message…' })
- locator resolved to <div dir="auto" tabindex="0" role="textbox" translate="no" aria-multiline="true" aria-disabled="false" contenteditable="true" aria-haspopup="listbox" aria-autocomplete="list" data-testid="basicmessagecomposer" aria-label="Send an unencrypted message…" class="mx_BasicMessageComposer_input mx_BasicMessageComposer_input_shouldShowPillAvatar">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 13 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByRole('textbox', { name: 'Send an unencrypted message…' })
- locator resolved to <div dir="auto" tabindex="0" role="textbox" translate="no" aria-multiline="true" aria-disabled="false" contenteditable="true" aria-haspopup="listbox" aria-autocomplete="list" data-testid="basicmessagecomposer" aria-label="Send an unencrypted message…" class="mx_BasicMessageComposer_input mx_BasicMessageComposer_input_shouldShowPillAvatar">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 13 pixels (ratio 0.01 of all image pixels) are different.
165 | await page.getByRole("option", { name: `Bob ${bot.credentials.userId}` }).click();
166 | await expect(composer.getByText("Bob")).toBeVisible();
> 167 | await expect(composer).toMatchScreenshot("mention.png");
| ^
168 | await composer.press("Enter");
169 | await expect(page.locator(".mx_EventTile_body", { hasText: "Bob" })).toBeVisible();
170 | });
at /home/runner/work/element-web/element-web/playwright/e2e/composer/CIDER.spec.ts:167:36
|
|
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-filter-sort.spec.ts:113:13 › Room list filters and sort › Scroll behaviour › should scroll to the top of list when filter is applied and active room is not in filtered list:
playwright/e2e/left-panel/room-list-panel/room-list-filter-sort.spec.ts#L157
1) [Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-filter-sort.spec.ts:113:13 › Room list filters and sort › Scroll behaviour › should scroll to the top of list when filter is applied and active room is not in filtered list
Error: expect(received).toStrictEqual(expected) // deep equality
Expected: false
Received: true
155 | .getByRole("listbox", { name: "Room list", exact: true })
156 | .evaluate((e) => e.scrollTop !== 0);
> 157 | expect(isScrolledDown).toStrictEqual(false);
| ^
158 | });
159 | });
160 |
at /home/runner/work/element-web/element-web/playwright/e2e/left-panel/room-list-panel/room-list-filter-sort.spec.ts:157:36
|
|
[Chrome] › playwright/e2e/crypto/backups-mas.spec.ts:23:9 › Encryption state after registration › Key backup is enabled by default:
playwright/e2e/crypto/utils.ts#L195
1) [Chrome] › playwright/e2e/crypto/backups-mas.spec.ts:23:9 › Encryption state after registration › Key backup is enabled by default
Error: expect(received).toBe(expected) // Object.is equality
Expected: "1"
Received: null
at crypto/utils.ts:195
193 | expect(backupInfo.version).toBe(expectedBackupVersion);
194 | // The active backup version is as expected
> 195 | expect(activeBackupVersion).toBe(expectedBackupVersion);
| ^
196 | // The backup key is stored in 4S
197 | if (checkBackupKeyIn4S) expect(backupKeyIn4S).toBe(true);
198 |
at checkDeviceIsConnectedKeyBackup (/home/runner/work/element-web/element-web/playwright/e2e/crypto/utils.ts:195:33)
at /home/runner/work/element-web/element-web/playwright/e2e/crypto/backups-mas.spec.ts:38:9
|
|
🎭 Playwright Run Summary
2 skipped
77 passed (5.0m)
|
|
🎭 Playwright Run Summary
1 skipped
77 passed (5.2m)
|
|
🎭 Playwright Run Summary
1 skipped
74 passed (7.2m)
|
|
🎭 Playwright Run Summary
1 flaky
[Chrome] › playwright/e2e/composer/CIDER.spec.ts:152:13 › Composer › CIDER › can send mention @screenshot
78 passed (8.0m)
|
|
🎭 Playwright Run Summary
1 flaky
[Chrome] › playwright/e2e/left-panel/room-list-panel/room-list-filter-sort.spec.ts:113:13 › Room list filters and sort › Scroll behaviour › should scroll to the top of list when filter is applied and active room is not in filtered list
75 passed (8.9m)
|
|
🎭 Playwright Run Summary
1 flaky
[Chrome] › playwright/e2e/crypto/backups-mas.spec.ts:23:9 › Encryption state after registration › Key backup is enabled by default
70 passed (9.3m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
all-blob-reports-Chrome-1
Expired
|
4.75 MB |
sha256:2c03ffd6a69ed08b13bb1eb4a4d829b2e995955bc08f827dafb98d1924a475a0
|
|
|
all-blob-reports-Chrome-2
Expired
|
6.88 MB |
sha256:c9a3d9b48b5b08248eccce17934b220b69436dba122724a8aefae4954d07e09a
|
|
|
all-blob-reports-Chrome-3
Expired
|
428 KB |
sha256:f5d60e140d20e69d163d4e4ab88a3d371171eb998cb5c2c4431757864ec29884
|
|
|
all-blob-reports-Chrome-4
Expired
|
616 KB |
sha256:84ff6a3094a233b9c3c7a021430af0d5e27b98f90e543eecc51aaf5d72db3def
|
|
|
all-blob-reports-Chrome-5
Expired
|
695 KB |
sha256:93be9d15130c2cf2219d910691e7b690a1e0567ba93f6fd1e16cc97a812c294d
|
|
|
all-blob-reports-Chrome-6
Expired
|
4.72 MB |
sha256:392f60ab3d0bd85e8637b1311f0bcc5f25119770b63f73ff2567f428fb118e66
|
|
|
html-report
|
16.5 MB |
sha256:411e5b0c4cc28d3d6ebbe37b9ec525c3d67f4782e5f7e3554232a1688258c44c
|
|
|
webapp
Expired
|
40.3 MB |
sha256:924ddee32d19a4db5faa500c1c25f89f1499bff783f622cccd25de32288d8f80
|
|