element-web-Github/playwright/e2e/settings
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
..
appearance-user-settings-tab.spec.ts Move the active tab in user settings to the dialog title (#12481) 2024-05-07 09:32:24 +00:00
device-management.spec.ts Migrate settings/* from Cypress to Playwright (#11949) 2023-11-29 13:50:13 +00:00
general-room-settings-tab.spec.ts Improve stability of Playwright screenshot tests (#11983) 2023-12-04 11:02:48 +00:00
general-user-settings-tab.spec.ts Refactor some logic into common AvatarSetting component (#12544) 2024-05-21 10:37:02 +00:00
preferences-user-settings-tab.spec.ts Improve stability of Playwright screenshot tests (#11983) 2023-12-04 11:02:48 +00:00
roles-permissions-room-settings-tab.spec.ts Change user permission by using a new apply button (#12346) 2024-03-19 13:45:23 +00:00
security-user-settings-tab.spec.ts Improve stability of Playwright screenshot tests (#11983) 2023-12-04 11:02:48 +00:00