element-web/test/utils/exportUtils
David Baker a0c029c3c1
Fix alignment of RTL messages (#12837)
* Fix alignment of RTL messages

Inspired by https://github.com/matrix-org/matrix-react-sdk/pull/5453 but
hopefully with the edited marker in the right place.

This is a PoC: types aren't correct and the style needs pulling
out to a class. Plus it would probably need more visual tests added.
If this looks acceptable, I can make these changes.

* Fix spacing between text and edited annotation

* Update snapshot

* Update more snapshots

* More snapshots

* More more snapshots

* Split out style

* Fix emotes

This will cause them always be right-justified if the display name
is rtl.

* Add playwright test for ltr/rtl message rendering

* Better snapshots

* Await on message sending

* Better waiting, hopefully

* Old snapshot files

* Really hopefully fixed screenshots this time

* Don't include the message action bar in the screenshots
2024-07-31 22:23:46 +00:00
..
__snapshots__ Fix alignment of RTL messages (#12837) 2024-07-31 22:23:46 +00:00
exportCSS-test.ts Fix "[object Promise]" appearing in HTML exports (#9975) 2023-01-30 14:31:32 +00:00
HTMLExport-test.ts Fix export type "Current timeline" to match its behaviour to its name (#11426) 2023-08-18 11:58:58 +00:00
JSONExport-test.ts Optimise Jest run in CI (#9542) 2022-11-04 10:48:08 +00:00
PlainTextExport-test.ts Use Intl to localise dates and times (#11422) 2023-08-21 19:38:59 +00:00