Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

End to End Tests

End to End Tests #8519

Triggered via workflow run April 10, 2024 13:55
@hughnshughns
completed 59395ab
Status Failure
Total duration 27m 7s
Artifacts 9

end-to-end-tests.yaml

on: workflow_run
Prepare
3s
Prepare
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
Run Tests 5/8
The process '/usr/bin/xvfb-run' failed with exit code 1
Run Tests 1/8
The process '/usr/bin/xvfb-run' failed with exit code 1
[Legacy Crypto] › crypto/complete-security.spec.ts:25:9 › Complete security › should go straight to the welcome screen if we have no signed device: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L158
1) [Legacy Crypto] › crypto/complete-security.spec.ts:25:9 › Complete security › should go straight to the welcome screen if we have no signed device Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements: 1) <div tabindex="0" role="button" class="mx_AccessibleB…>…</div> aka getByRole('button', { name: 'Sign in with QR code' }) 2) <input type="submit" value="Sign in" class="mx_Login_su…/> aka getByRole('button', { name: 'Sign in', exact: true }) Call log: - waiting for getByRole('button', { name: 'Sign in' }) at crypto/utils.ts:158 156 | await page.getByRole("textbox", { name: "Username" }).fill(credentials.userId); 157 | await page.getByPlaceholder("Password").fill(credentials.password); > 158 | await page.getByRole("button", { name: "Sign in" }).click(); | ^ 159 | 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:158:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/complete-security.spec.ts:30:9
[Legacy Crypto] › crypto/complete-security.spec.ts:25:9 › Complete security › should go straight to the welcome screen if we have no signed device: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L158
1) [Legacy Crypto] › crypto/complete-security.spec.ts:25:9 › Complete security › should go straight to the welcome screen if we have no signed device Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements: 1) <div tabindex="0" role="button" class="mx_AccessibleB…>…</div> aka getByRole('button', { name: 'Sign in with QR code' }) 2) <input type="submit" value="Sign in" class="mx_Login_su…/> aka getByRole('button', { name: 'Sign in', exact: true }) Call log: - waiting for getByRole('button', { name: 'Sign in' }) at crypto/utils.ts:158 156 | await page.getByRole("textbox", { name: "Username" }).fill(credentials.userId); 157 | await page.getByPlaceholder("Password").fill(credentials.password); > 158 | await page.getByRole("button", { name: "Sign in" }).click(); | ^ 159 | 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:158:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/complete-security.spec.ts:30:9
[Legacy Crypto] › crypto/complete-security.spec.ts:25:9 › Complete security › should go straight to the welcome screen if we have no signed device: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L158
1) [Legacy Crypto] › crypto/complete-security.spec.ts:25:9 › Complete security › should go straight to the welcome screen if we have no signed device Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements: 1) <div tabindex="0" role="button" class="mx_AccessibleB…>…</div> aka getByRole('button', { name: 'Sign in with QR code' }) 2) <input type="submit" value="Sign in" class="mx_Login_su…/> aka getByRole('button', { name: 'Sign in', exact: true }) Call log: - waiting for getByRole('button', { name: 'Sign in' }) at crypto/utils.ts:158 156 | await page.getByRole("textbox", { name: "Username" }).fill(credentials.userId); 157 | await page.getByPlaceholder("Password").fill(credentials.password); > 158 | await page.getByRole("button", { name: "Sign in" }).click(); | ^ 159 | 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:158:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/complete-security.spec.ts:30:9
[Legacy Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L158
2) [Legacy Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements: 1) <div tabindex="0" role="button" class="mx_AccessibleB…>…</div> aka getByRole('button', { name: 'Sign in with QR code' }) 2) <input type="submit" value="Sign in" class="mx_Login_su…/> aka getByRole('button', { name: 'Sign in', exact: true }) Call log: - waiting for getByRole('button', { name: 'Sign in' }) at crypto/utils.ts:158 156 | await page.getByRole("textbox", { name: "Username" }).fill(credentials.userId); 157 | await page.getByPlaceholder("Password").fill(credentials.password); > 158 | await page.getByRole("button", { name: "Sign in" }).click(); | ^ 159 | 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:158:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:462:13
[Legacy Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L158
2) [Legacy Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements: 1) <div tabindex="0" role="button" class="mx_AccessibleB…>…</div> aka getByRole('button', { name: 'Sign in with QR code' }) 2) <input type="submit" value="Sign in" class="mx_Login_su…/> aka getByRole('button', { name: 'Sign in', exact: true }) Call log: - waiting for getByRole('button', { name: 'Sign in' }) at crypto/utils.ts:158 156 | await page.getByRole("textbox", { name: "Username" }).fill(credentials.userId); 157 | await page.getByPlaceholder("Password").fill(credentials.password); > 158 | await page.getByRole("button", { name: "Sign in" }).click(); | ^ 159 | 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:158:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:462:13
[Legacy Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L158
2) [Legacy Crypto] › crypto/crypto.spec.ts:438:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements: 1) <div tabindex="0" role="button" class="mx_AccessibleB…>…</div> aka getByRole('button', { name: 'Sign in with QR code' }) 2) <input type="submit" value="Sign in" class="mx_Login_su…/> aka getByRole('button', { name: 'Sign in', exact: true }) Call log: - waiting for getByRole('button', { name: 'Sign in' }) at crypto/utils.ts:158 156 | await page.getByRole("textbox", { name: "Username" }).fill(credentials.userId); 157 | await page.getByPlaceholder("Password").fill(credentials.password); > 158 | await page.getByRole("button", { name: "Sign in" }).click(); | ^ 159 | 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:158:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:462:13
[Legacy Crypto] › crypto/logout.spec.ts:25:9 › Logout tests › Ask to set up recovery on logout if not setup: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L158
3) [Legacy Crypto] › crypto/logout.spec.ts:25:9 › Logout tests › Ask to set up recovery on logout if not setup Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements: 1) <div tabindex="0" role="button" class="mx_AccessibleB…>…</div> aka getByRole('button', { name: 'Sign in with QR code' }) 2) <input type="submit" value="Sign in" class="mx_Login_su…/> aka getByRole('button', { name: 'Sign in', exact: true }) Call log: - waiting for getByRole('button', { name: 'Sign in' }) at crypto/utils.ts:158 156 | await page.getByRole("textbox", { name: "Username" }).fill(credentials.userId); 157 | await page.getByPlaceholder("Password").fill(credentials.password); > 158 | await page.getByRole("button", { name: "Sign in" }).click(); | ^ 159 | 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:158:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/logout.spec.ts:22:9
[Legacy Crypto] › crypto/logout.spec.ts:25:9 › Logout tests › Ask to set up recovery on logout if not setup: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L158
3) [Legacy Crypto] › crypto/logout.spec.ts:25:9 › Logout tests › Ask to set up recovery on logout if not setup Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements: 1) <div tabindex="0" role="button" class="mx_AccessibleB…>…</div> aka getByRole('button', { name: 'Sign in with QR code' }) 2) <input type="submit" value="Sign in" class="mx_Login_su…/> aka getByRole('button', { name: 'Sign in', exact: true }) Call log: - waiting for getByRole('button', { name: 'Sign in' }) at crypto/utils.ts:158 156 | await page.getByRole("textbox", { name: "Username" }).fill(credentials.userId); 157 | await page.getByPlaceholder("Password").fill(credentials.password); > 158 | await page.getByRole("button", { name: "Sign in" }).click(); | ^ 159 | 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:158:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/logout.spec.ts:22:9
[Legacy Crypto] › crypto/logout.spec.ts:25:9 › Logout tests › Ask to set up recovery on logout if not setup: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L158
3) [Legacy Crypto] › crypto/logout.spec.ts:25:9 › Logout tests › Ask to set up recovery on logout if not setup Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements: 1) <div tabindex="0" role="button" class="mx_AccessibleB…>…</div> aka getByRole('button', { name: 'Sign in with QR code' }) 2) <input type="submit" value="Sign in" class="mx_Login_su…/> aka getByRole('button', { name: 'Sign in', exact: true }) Call log: - waiting for getByRole('button', { name: 'Sign in' }) at crypto/utils.ts:158 156 | await page.getByRole("textbox", { name: "Username" }).fill(credentials.userId); 157 | await page.getByPlaceholder("Password").fill(credentials.password); > 158 | await page.getByRole("button", { name: "Sign in" }).click(); | ^ 159 | 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:158:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/logout.spec.ts:22:9
[Legacy Crypto] › crypto/logout.spec.ts:41:9 › Logout tests › If backup is set up show standard confirm: matrix-react-sdk/playwright/e2e/crypto/utils.ts#L158
4) [Legacy Crypto] › crypto/logout.spec.ts:41:9 › Logout tests › If backup is set up show standard confirm Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements: 1) <div tabindex="0" role="button" class="mx_AccessibleB…>…</div> aka getByRole('button', { name: 'Sign in with QR code' }) 2) <input type="submit" value="Sign in" class="mx_Login_su…/> aka getByRole('button', { name: 'Sign in', exact: true }) Call log: - waiting for getByRole('button', { name: 'Sign in' }) at crypto/utils.ts:158 156 | await page.getByRole("textbox", { name: "Username" }).fill(credentials.userId); 157 | await page.getByPlaceholder("Password").fill(credentials.password); > 158 | await page.getByRole("button", { name: "Sign in" }).click(); | ^ 159 | 160 | // if a securityKey was given, verify the new device 161 | if (securityKey !== undefined) { at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:158:57) at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/logout.spec.ts:22:9
Prepare
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Sibz/github-status-action@071b5370da85afbb16637d6eed8524a06bc2053e. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Report results
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: Sibz/github-status-action@071b5370da85afbb16637d6eed8524a06bc2053e, bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3, actions/github-script@v6, nwtgck/actions-netlify@7a92f00dde8c92a5a9e8385ec2919775f7647352. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
all-blob-reports-1 Expired
114 MB
all-blob-reports-2 Expired
4.64 MB
all-blob-reports-3 Expired
5.84 MB
all-blob-reports-4 Expired
1.1 MB
all-blob-reports-5 Expired
88.4 MB
all-blob-reports-6 Expired
580 KB
all-blob-reports-7 Expired
6.92 MB
all-blob-reports-8 Expired
1.14 MB
html-report--attempt-1 Expired
218 MB