discourse/plugins/chat/spec/system/page_objects
Joffrey JAFFEUX 52b79012e9
DEV: revert long press changes (#32668)
These changes have been made for playwright as it was hard to test a
long press even on playwright given `click` won't trigger `touchstart`
even with `isMobile:true` and `hasTouch:true`. You have to use `tap`,
but you don't have the `delay` option on tap, so you can't make it a
long tap.

Sadly this code is apparently not working correctly on Android 15. This
commit will revert the modifier to what it was before and is relying on
native JS to trigger the fake long press in specs, which seems to work
nicely.

This commit also attempts to centralize the actions on messages in page
objects to avoid code duplication.
2025-05-09 18:58:42 +02:00
..
chat DEV: revert long press changes (#32668) 2025-05-09 18:58:42 +02:00
chat_drawer DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
modals DEV: ensures channel has been created (#30445) 2024-12-23 13:54:22 +01:00
pages FEATURE: One-click chat reaction settings (#32150) 2025-04-04 09:15:13 +02:00
sidebar FIX: Improve the reliability of the unread channel keyboard shortcuts (#29814) 2024-11-21 08:24:26 +11:00