This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
End to End Tests #8843
Annotations
10 errors, 6 warnings, and 1 notice
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L701
1) [Rust Crypto] › crypto/crypto.spec.ts:611:17 › Cryptography › decryption failure messages › decryption failure messages › should handle non-joined historical messages
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.mx_EventTile').first()
Expected string: "You don't have access to this message"
Received string: "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('.mx_EventTile').first()
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
699 | // The first message from Bob was sent before Alice was in the room, so should
700 | // be different from the standard UTD message
> 701 | await expect(tiles[tiles.length - 5]).toContainText("You don't have access to this message");
| ^
702 | await expect(tiles[tiles.length - 5].locator(".mx_EventTile_e2eIcon_decryption_failure")).toBeVisible();
703 |
704 | // The second message from Bob should be decryptable
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:701:55
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L701
1) [Rust Crypto] › crypto/crypto.spec.ts:611:17 › Cryptography › decryption failure messages › decryption failure messages › should handle non-joined historical messages
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.mx_EventTile').first()
Expected string: "You don't have access to this message"
Received string: "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('.mx_EventTile').first()
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "Encryption enabledMessages in this room are end-to-end encrypted. When people join, you can verify them in their profile, just tap on their profile picture."
699 | // The first message from Bob was sent before Alice was in the room, so should
700 | // be different from the standard UTD message
> 701 | await expect(tiles[tiles.length - 5]).toContainText("You don't have access to this message");
| ^
702 | await expect(tiles[tiles.length - 5].locator(".mx_EventTile_e2eIcon_decryption_failure")).toBeVisible();
703 |
704 | // The second message from Bob should be decryptable
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:701:55
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L701
1) [Rust Crypto] › crypto/crypto.spec.ts:611:17 › Cryptography › decryption failure messages › decryption failure messages › should handle non-joined historical messages
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('.mx_EventTile').nth(1)
Expected string: "You don't have access to this message"
Received string: "BobBUnable to decrypt message"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('.mx_EventTile').nth(1)
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "BobBUnable to decrypt message"
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "BobBUnable to decrypt message"
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "BobBUnable to decrypt message"
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "BobBUnable to decrypt message"
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "BobBUnable to decrypt message"
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "BobBUnable to decrypt message"
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "BobBUnable to decrypt message"
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "BobBUnable to decrypt message"
- locator resolved to <li tabindex="-1" aria-live="off" data-self="false" …>…</li>
- unexpected value "BobBUnable to decrypt message"
699 | // The first message from Bob was sent before Alice was in the room, so should
700 | // be different from the standard UTD message
> 701 | await expect(tiles[tiles.length - 5]).toContainText("You don't have access to this message");
| ^
702 | await expect(tiles[tiles.length - 5].locator(".mx_EventTile_e2eIcon_decryption_failure")).toBeVisible();
703 |
704 | // The second message from Bob should be decryptable
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:701:55
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts#L1017
2) [Legacy Crypto] › timeline/timeline.spec.ts:910:13 › Timeline › message sending › should display a reply chain
Error: Screenshot comparison failed:
103 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/timeline/timeline.spec.ts/event-tile-reply-chains-bubble-layout-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-801c1-hould-display-a-reply-chain-Legacy-Crypto/event-tile-reply-chains-bubble-layout-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/timeline-timeline-Timeline-801c1-hould-display-a-reply-chain-Legacy-Crypto/event-tile-reply-chains-bubble-layout-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_EventTile_last')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" a…>…</li>
- 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
- 103 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_EventTile_last')
- locator resolved to <li tabindex="-1" aria-live="off" data-self="true" a…>…</li>
- 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
- 103 pixels (ratio 0.01 of all image pixels) are different.
1015 |
1016 | // Take a snapshot on bubble layout
> 1017 | await expect(page.locator(".mx_EventTile_last")).toMatchScreenshot(
| ^
1018 | "event-tile-reply-chains-bubble-layout.png",
1019 | screenshotOptions,
1020 | );
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/timeline/timeline.spec.ts:1017:62
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/user-onboarding/user-onboarding-new.spec.ts#L48
3) [Legacy Crypto] › user-onboarding/user-onboarding-new.spec.ts:43:9 › User Onboarding (new user) › app download dialog
Error: Screenshot comparison failed:
129 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/snapshots/user-onboarding/user-onboarding-new.spec.ts/User-Onboarding-new-user-app-download-dialog-1-linux.png
Received: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-onboarding-user-onboa-8144a-ew-user-app-download-dialog-Legacy-Crypto/User-Onboarding-new-user-app-download-dialog-1-actual.png
Diff: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/test-results/user-onboarding-user-onboa-8144a-ew-user-app-download-dialog-Legacy-Crypto/User-Onboarding-new-user-app-download-dialog-1-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_Dialog')
- locator resolved to <div class="mx_Dialog">…</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
- 129 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_Dialog')
- locator resolved to <div class="mx_Dialog">…</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
- 129 pixels (ratio 0.01 of all image pixels) are different.
46 | page.getByRole("dialog").getByRole("heading", { level: 1, name: "Download Element" }),
47 | ).toBeVisible();
> 48 | await expect(page.locator(".mx_Dialog")).toMatchScreenshot();
| ^
49 | });
50 |
51 | test("using find friends action should increase progress", async ({ page, homeserver }) => {
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/user-onboarding/user-onboarding-new.spec.ts:48:50
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts#L81
4) [Rust Crypto] › audio-player/audio-player.spec.ts:156:9 › Audio player › should be correctly rendered - high contrast theme
Error: expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
79 |
80 | // Check the status of the seek bar
> 81 | expect(await page.locator(".mx_AudioPlayer_seek input[type='range']").count()).toBeGreaterThan(0);
| ^
82 |
83 | // Enable IRC layout
84 | await app.settings.setValue("layout", null, SettingLevel.DEVICE, Layout.IRC);
at takeSnapshots (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts:81:88)
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/audio-player/audio-player.spec.ts:169:9
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts#L1
5) [Rust Crypto] › crypto/crypto.spec.ts:443:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup
Test timeout of 30000ms exceeded.
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/crypto/utils.ts#L162
5) [Rust Crypto] › crypto/crypto.spec.ts:443:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('.mx_AuthPage').getByRole('button', { name: 'Verify with Security Key' })
at crypto/utils.ts:162
160 | // if a securityKey was given, verify the new device
161 | if (securityKey !== undefined) {
> 162 | await page.locator(".mx_AuthPage").getByRole("button", { name: "Verify with Security Key" }).click();
| ^
163 | // Fill in the security key
164 | await page.locator(".mx_Dialog").locator('input[type="password"]').fill(securityKey);
165 | await page.locator(".mx_Dialog_primary:not([disabled])", { hasText: "Continue" }).click();
at logIntoElement (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/utils.ts:162:102)
at /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/crypto/crypto.spec.ts:467:13
|
Merge into HTML Report:
matrix-react-sdk/playwright/e2e/login/overwrite_login.spec.ts#L1
6) [Rust Crypto] › login/overwrite_login.spec.ts:21:9 › Overwrite login action › Try replace existing login with new one
Test timeout of 30000ms exceeded.
|
Merge into HTML Report:
matrix-react-sdk/playwright/pages/settings.ts#L28
6) [Rust Crypto] › login/overwrite_login.spec.ts:21:9 › Overwrite login action › Try replace existing login with new one
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'User menu' })
- locator resolved to <div tabindex="0" role="button" aria-haspopup="true" …>…</div>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_ContextualMenu_background"></div> from <div id="mx_ContextualMenu_Container">…</div> subtree intercepts pointer events
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="mx_ContextualMenu_background"></div> from <
|
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/.
|
Merge into HTML Report:
[Rust Crypto] › read-receipts/redactions.spec.ts#L1
[Rust Crypto] › read-receipts/redactions.spec.ts took 5.8m
|
Merge into HTML Report:
[Legacy Crypto] › read-receipts/redactions.spec.ts#L1
[Legacy Crypto] › read-receipts/redactions.spec.ts took 5.3m
|
Merge into HTML Report:
[Rust Crypto] › read-receipts/new-messages.spec.ts#L1
[Rust Crypto] › read-receipts/new-messages.spec.ts took 3.7m
|
Merge into HTML Report:
[Rust Crypto] › read-receipts/high-level.spec.ts#L1
[Rust Crypto] › read-receipts/high-level.spec.ts took 3.6m
|
Merge into HTML Report:
[Legacy Crypto] › read-receipts/high-level.spec.ts#L1
[Legacy Crypto] › read-receipts/high-level.spec.ts took 3.5m
|
Merge into HTML Report
1 failed
[Rust Crypto] › crypto/crypto.spec.ts:611:17 › Cryptography › decryption failure messages › decryption failure messages › should handle non-joined historical messages
5 flaky
[Legacy Crypto] › timeline/timeline.spec.ts:910:13 › Timeline › message sending › should display a reply chain
[Legacy Crypto] › user-onboarding/user-onboarding-new.spec.ts:43:9 › User Onboarding (new user) › app download dialog
[Rust Crypto] › audio-player/audio-player.spec.ts:156:9 › Audio player › should be correctly rendered - high contrast theme
[Rust Crypto] › crypto/crypto.spec.ts:443:13 › Cryptography › event shields › Should show a grey padlock for a key restored from backup
[Rust Crypto] › login/overwrite_login.spec.ts:21:9 › Overwrite login action › Try replace existing login with new one
126 skipped
674 passed (18.1m)
|
Loading