element-web/playwright
David Baker 3342aa5ff8
Refactor some logic into common AvatarSetting component (#12544)
* Refactor some logic into common AvatarSetting component

We duplicated some of the logic of setting avatars between profiles &
rooms. This pulls some of that logic into the AvatarSetting component
and hopefully make things a little simpler.

* Unsed import

* Convert JS based hover to CSS

* Remove unnecessary container

* Test avatar-as-file path

* Test file upload

* Unused imports

* Add test for RoomProfileSettings

* Test removing room avatar

* Move upload control CSS too

* Remove commented code

Co-authored-by: Florian Duros <florianduros@element.io>

* Prettier

* Coments & move style to inline as per PR suggestion

* Better test names

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Fix test

Upload input doesn't have that class anymore

---------

Co-authored-by: Florian Duros <florianduros@element.io>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-05-21 10:37:02 +00:00
..
e2e Refactor some logic into common AvatarSetting component (#12544) 2024-05-21 10:37:02 +00:00
pages Fix flakiness in playwright tests (#12512) 2024-05-13 16:58:49 +00:00
plugins Remove old pre-join UTD logic (#12464) 2024-05-10 20:20:40 +00:00
sample-files Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
snapshots Fix E2E icon display in room header (#12545) 2024-05-20 16:08:50 +00:00
.gitignore Add Playwright tests for OIDC-aware & OIDC-native (#12252) 2024-02-21 10:43:47 +00:00
docker-entrypoint.sh Allow screenshot update docker to run multiple test files (#12291) 2024-02-28 10:04:25 +00:00
Dockerfile Update all non-major dependencies (#12530) 2024-05-16 08:40:07 +00:00
element-web-test.ts Extract functions for service worker usage, and add initial MSC3916 playwright test (when supported) (#12414) 2024-05-02 22:19:55 +00:00
flaky-reporter.ts Add custom reporter to auto-report flaky Playwright tests (#12290) 2024-02-28 13:02:09 +00:00
global.d.ts Update dependency typescript to v5.4.2 (#12324) 2024-03-19 17:55:06 +00:00
tsconfig.json Extract types for re-use in matrix-js-sdk.d.ts (#12350) 2024-03-19 10:19:38 +00:00