Add a test for #29882, which is fixed by matrix-js-sdk#5016 (#30835) #11090
Annotations
2 errors and 1 notice
|
playwright/e2e/composer/CIDER.spec.ts#L116
1) [Chrome] › playwright/e2e/composer/CIDER.spec.ts:101:13 › Composer › CIDER › can send mention @screenshot
Error: expect(locator).toHaveScreenshot(expected)
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.
114 | await page.getByRole("option", { name: `Bob ${bot.credentials.userId}` }).click();
115 | await expect(composer.getByText("Bob")).toBeVisible();
> 116 | await expect(composer).toMatchScreenshot("mention.png");
| ^
117 | await composer.press("Enter");
118 | await expect(page.locator(".mx_EventTile_body", { hasText: "Bob" })).toBeVisible();
119 | });
at /home/runner/work/element-web/element-web/playwright/e2e/composer/CIDER.spec.ts:116:36
|
|
|
|
1 flaky
[Chrome] › playwright/e2e/composer/CIDER.spec.ts:101:13 › Composer › CIDER › can send mention @screenshot
102 passed (8.8m)
|
The logs for this run have expired and are no longer available.
Loading