End to End Tests #7444
Annotations
9 errors and 1 notice
Run Playwright tests:
playwright/pages/client.ts#L240
1) [Firefox] › playwright/e2e/crypto/event-shields.spec.ts:263:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted
TypeError: page.waitForResponse: Cannot read properties of null (reading 'includes')
at ../pages/client.ts:240
238 | */
239 | public async waitForNextSync(): Promise<void> {
> 240 | await this.page.waitForResponse(async (response) => {
| ^
241 | const accessToken = await this.evaluate((client) => client.getAccessToken());
242 | const authHeader = await response.request().headerValue("authorization");
243 | return response.url().includes("/sync") && authHeader.includes(accessToken);
at Bot.waitForNextSync (/home/runner/work/element-web/element-web/playwright/pages/client.ts:240:25)
at /home/runner/work/element-web/element-web/playwright/e2e/crypto/event-shields.spec.ts:282:35
|
Run Playwright tests:
playwright/pages/client.ts#L240
1) [Firefox] › playwright/e2e/crypto/event-shields.spec.ts:263:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: page.waitForResponse: Cannot read properties of null (reading 'includes')
at ../pages/client.ts:240
238 | */
239 | public async waitForNextSync(): Promise<void> {
> 240 | await this.page.waitForResponse(async (response) => {
| ^
241 | const accessToken = await this.evaluate((client) => client.getAccessToken());
242 | const authHeader = await response.request().headerValue("authorization");
243 | return response.url().includes("/sync") && authHeader.includes(accessToken);
at Bot.waitForNextSync (/home/runner/work/element-web/element-web/playwright/pages/client.ts:240:25)
at /home/runner/work/element-web/element-web/playwright/e2e/crypto/event-shields.spec.ts:282:35
|
Run Playwright tests:
playwright/pages/client.ts#L240
1) [Firefox] › playwright/e2e/crypto/event-shields.spec.ts:263:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: page.waitForResponse: Cannot read properties of null (reading 'includes')
at ../pages/client.ts:240
238 | */
239 | public async waitForNextSync(): Promise<void> {
> 240 | await this.page.waitForResponse(async (response) => {
| ^
241 | const accessToken = await this.evaluate((client) => client.getAccessToken());
242 | const authHeader = await response.request().headerValue("authorization");
243 | return response.url().includes("/sync") && authHeader.includes(accessToken);
at Bot.waitForNextSync (/home/runner/work/element-web/element-web/playwright/pages/client.ts:240:25)
at /home/runner/work/element-web/element-web/playwright/e2e/crypto/event-shields.spec.ts:282:35
|
Run Playwright tests:
playwright/pages/client.ts#L240
2) [Firefox] › playwright/e2e/lazy-loading/lazy-loading.spec.ts:126:9 › Lazy Loading › should handle lazy loading properly even when offline
TypeError: page.waitForResponse: Cannot read properties of null (reading 'includes')
at ../pages/client.ts:240
238 | */
239 | public async waitForNextSync(): Promise<void> {
> 240 | await this.page.waitForResponse(async (response) => {
| ^
241 | const accessToken = await this.evaluate((client) => client.getAccessToken());
242 | const authHeader = await response.request().headerValue("authorization");
243 | return response.url().includes("/sync") && authHeader.includes(accessToken);
at Client.waitForNextSync (/home/runner/work/element-web/element-web/playwright/pages/client.ts:240:25)
at joinCharliesWhileAliceIsOffline (/home/runner/work/element-web/element-web/playwright/e2e/lazy-loading/lazy-loading.spec.ts:123:26)
at /home/runner/work/element-web/element-web/playwright/e2e/lazy-loading/lazy-loading.spec.ts:138:9
|
Run Playwright tests:
playwright/pages/client.ts#L240
2) [Firefox] › playwright/e2e/lazy-loading/lazy-loading.spec.ts:126:9 › Lazy Loading › should handle lazy loading properly even when offline
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: page.waitForResponse: Cannot read properties of null (reading 'includes')
at ../pages/client.ts:240
238 | */
239 | public async waitForNextSync(): Promise<void> {
> 240 | await this.page.waitForResponse(async (response) => {
| ^
241 | const accessToken = await this.evaluate((client) => client.getAccessToken());
242 | const authHeader = await response.request().headerValue("authorization");
243 | return response.url().includes("/sync") && authHeader.includes(accessToken);
at Client.waitForNextSync (/home/runner/work/element-web/element-web/playwright/pages/client.ts:240:25)
at joinCharliesWhileAliceIsOffline (/home/runner/work/element-web/element-web/playwright/e2e/lazy-loading/lazy-loading.spec.ts:123:26)
at /home/runner/work/element-web/element-web/playwright/e2e/lazy-loading/lazy-loading.spec.ts:138:9
|
Run Playwright tests:
playwright/pages/client.ts#L240
2) [Firefox] › playwright/e2e/lazy-loading/lazy-loading.spec.ts:126:9 › Lazy Loading › should handle lazy loading properly even when offline
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: page.waitForResponse: Cannot read properties of null (reading 'includes')
at ../pages/client.ts:240
238 | */
239 | public async waitForNextSync(): Promise<void> {
> 240 | await this.page.waitForResponse(async (response) => {
| ^
241 | const accessToken = await this.evaluate((client) => client.getAccessToken());
242 | const authHeader = await response.request().headerValue("authorization");
243 | return response.url().includes("/sync") && authHeader.includes(accessToken);
at Client.waitForNextSync (/home/runner/work/element-web/element-web/playwright/pages/client.ts:240:25)
at joinCharliesWhileAliceIsOffline (/home/runner/work/element-web/element-web/playwright/e2e/lazy-loading/lazy-loading.spec.ts:123:26)
at /home/runner/work/element-web/element-web/playwright/e2e/lazy-loading/lazy-loading.spec.ts:138:9
|
Run Playwright tests:
playwright/e2e/crypto/device-verification.spec.ts#L96
3) [Firefox] › playwright/e2e/crypto/device-verification.spec.ts:121:9 › Device verification › Verify device with QR code during login @no-webkit
Error: "route.fetch: Test ended." while running route callback.
Consider awaiting `await page.unrouteAll({ behavior: 'ignoreErrors' })`
before the end of the test to ignore remaining routes in flight.
94 | await route.fulfill({ json: {} });
95 | await new Promise((f) => setTimeout(f, 1000));
> 96 | await route.fetch();
| ^
97 | });
98 |
99 | await logIntoElement(page, credentials);
at /home/runner/work/element-web/element-web/playwright/e2e/crypto/device-verification.spec.ts:96:25
|
Run Playwright tests:
playwright/e2e/crypto/utils.ts#L40
3) [Firefox] › playwright/e2e/crypto/device-verification.spec.ts:121:9 › Device verification › Verify device with QR code during login @no-webkit
Error: page.goto: Test ended.
Call log:
- navigating to "http://localhost:8080/#/login", waiting until "load"
at crypto/utils.ts:40
38 | ): Promise<{ botClient: Bot; recoveryKey: GeneratedSecretStorageKey; expectedBackupVersion: string }> {
39 | // Visit the login page of the app, to load the matrix sdk
> 40 | await page.goto("/#/login");
| ^
41 |
42 | // wait for the page to load
43 | await page.waitForSelector(".mx_AuthPage", { timeout: 30000 });
at createBot (/home/runner/work/element-web/element-web/playwright/e2e/crypto/utils.ts:40:16)
at /home/runner/work/element-web/element-web/playwright/e2e/crypto/device-verification.spec.ts:33:36
|
Run Playwright tests
Process completed with exit code 1.
|
Run Playwright tests
2 failed
[Firefox] › playwright/e2e/crypto/event-shields.spec.ts:263:13 › Cryptography › event shields › should show correct shields on events sent by devices which have since been deleted
[Firefox] › playwright/e2e/lazy-loading/lazy-loading.spec.ts:126:9 › Lazy Loading › should handle lazy loading properly even when offline
1 flaky
[Firefox] › playwright/e2e/crypto/device-verification.spec.ts:121:9 › Device verification › Verify device with QR code during login @no-webkit
11 skipped
140 passed (20.9m)
|
Loading