Enable react-compiler eslint to spot antipatterns #3385
Annotations
1 error, 5 warnings, and 1 notice
Run Playwright tests:
playwright/e2e/right-panel/right-panel.spec.ts#L51
1) [Chrome] › right-panel/right-panel.spec.ts:41:13 › RightPanel › in rooms › should handle long room address and long room name @screenshot
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: locator('.mx_SettingsFieldset').filter({ hasText: 'Local Addresses' }).getByText('#loremIpsumDolorSitAmetConsecteturAdipisicingElitSedDoEiusmodTemporIncididuntUtLaboreEtDoloreMagnaAliqua:localhost')
Expected string: "mx_EditableItem_item"
Received: <element(s) not found>
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for locator('.mx_SettingsFieldset').filter({ hasText: 'Local Addresses' }).getByText('#loremIpsumDolorSitAmetConsecteturAdipisicingElitSedDoEiusmodTemporIncididuntUtLaboreEtDoloreMagnaAliqua:localhost')
49 | await localAddresses.getByRole("textbox").fill(ROOM_ADDRESS_LONG);
50 | await localAddresses.getByRole("button", { name: "Add" }).click();
> 51 | await expect(localAddresses.getByText(`#${ROOM_ADDRESS_LONG}:localhost`)).toHaveClass(
| ^
52 | "mx_EditableItem_item",
53 | );
54 |
at /home/runner/work/element-web/element-web/playwright/e2e/right-panel/right-panel.spec.ts:51:87
|
Run Playwright tests:
[Chrome] › settings/account-user-settings-tab.spec.ts#L1
[Chrome] › settings/account-user-settings-tab.spec.ts took 43.4s
|
Run Playwright tests:
[Chrome] › polls/polls.spec.ts#L1
[Chrome] › polls/polls.spec.ts took 42.2s
|
Run Playwright tests:
[Chrome] › right-panel/file-panel.spec.ts#L1
[Chrome] › right-panel/file-panel.spec.ts took 37.5s
|
Run Playwright tests:
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts#L1
[Chrome] › settings/appearance-user-settings-tab/theme-choice-panel.spec.ts took 30.9s
|
Run Playwright tests:
[Chrome] › room/room-header.spec.ts#L1
[Chrome] › room/room-header.spec.ts took 26.5s
|
Run Playwright tests
1 flaky
[Chrome] › right-panel/right-panel.spec.ts:41:13 › RightPanel › in rooms › should handle long room address and long room name @screenshot
1 skipped
50 passed (6.8m)
|
Loading