* nx test:playwright:screenshots: only do snapshots for Chrome
`nx` eats the `--project` option unless we prefix with `--`.
* Apply suggestion from @richvdh
* Upgrade to compound 9.2.0
... to pick up the export of PageHeader
* update snapshots
* update shared-components snapshots
* More snapshot updates
* update snapshot
* GHA: Show disk usage on failure
This test was flaking. The problem appears to have been that we were clicking
"Continue" twice in succession; the intention was that we click on two
*different* "Continue" buttons, but sometimes we ended up clicking in the same
one twice.
Fix it by waiting for the content to change after the first click.
Fixes: #31316
* feat: add creation section dialog
* feat: add in skip list a method to change filters
* feat: add helper to creation section
* feat: add custom sections data to Settings
* feat: add custom section to room list store v3
* feat: update header and room list item vms
* feat: add toast to room list vm
* feat: add new translation
* chore: move util functions of room list specs
* test: add custom section playwright tests
* chore: call loadCustomSections in RoomListStoreV3 ctor
* make sure to disconnect from possibly active calls for a room when leaving the room
* log error on log call
* Update apps/web/src/utils/leave-behaviour.ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* fix wrong logger import
* hang up calls properly on empty rooms for both legacy and element calls (listen for room event and leave call if only one member left). add tests for both legacy and element calls.
* format Call-test.ts
* revert async on function def
* revert Call.ts and Call-test.ts. Wrap legacy call hangup in try
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
When playwright starts the development web server, have it tell nx to use the
`stream` output style, which is somewhat clearer than the
default. (Specifically, it distinguishes between output from different tasks,
so you can see where any errors are coming from.)
* feat: add way to create custom section in SC
* feat: disable custom section in vms
* chore: include design tokens icons in vitest config
* test: update screenshot
* chore: use one react import
* InviteDialog: simplify users section for CallTransferDialog
The majority of `renderMainTab` is enpty for the call transfer dialog, so we
may as well inkine the bits that aren't.
* Simplify `renderMainTab`
Now that this is unused for CallTransfer, we can simplify
* Remove redundant eslint-disable
eslint seems happy without this, and we shouldn't be disabling lints for a
whole file anyway
* playwright-common utilities for handling toasts
* Set element-web-playwright-common version to 3.1.0
* Add comments to explain the linear hierarchy of fixtures
* Update to compound-web 9.0.1
There are a couple of breaking changes in v9, leading to the changes in
`BugReportDialog` and `EncryptionCard`.
Most of these updates, however, are snapshot updates, due to changes in the CSS
class names in compound web (which happens due to updates in the CSS content in
those classes; `postcss-modules` generates class names based on the hash of the
CSS).
* update playwright screenshots
* Separate cases in DeviceListener
According to the comment in `else` there were two ways to end up there. Split
these into separate cases and provide a different log message in each case.
If we somehow get there another way, throw an error.
* Replace a throw with an error log