discourse/plugins/chat/spec/system
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
..
admin DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
chat/composer DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
chat_message DEV: Try until success for clipboard copies (#27986) 2024-07-19 19:44:10 +08:00
drawer DEV: rename chat preferred mobile index to chat preferred index (#27953) 2024-07-30 10:25:22 -03:00
list_channels DEV: attempts to fix flakey drawer spec (#31749) 2025-03-11 14:57:35 +01:00
page_objects DEV: revert long press changes (#32668) 2025-05-09 18:58:42 +02:00
reply_to_message DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
select_message FEATURE: thread pagination (#22624) 2023-07-27 09:57:03 +02:00
shortcuts DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
thread_list DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
thread_tracking FEATURE: Add ability to watch chat threads (#28639) 2024-09-02 16:45:55 +04:00
user_menu_notifications DEV: cleanup chat desktop notification data (#28943) 2024-10-03 12:43:17 +04:00
user_status DEV: Remove assertion causing test to be flaky (#25069) 2023-12-29 13:23:16 +08:00
about_page_site_acitivity_spec.rb FEATURE: Enable the new /about page for everyone (#29390) 2024-10-29 18:40:11 +03:00
admin_sidebar_navigation_spec.rb FIX: remove admin_sidebar_enabled_groups setting (#31693) 2025-03-11 11:41:38 +11:00
anonymous_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
archive_channel_spec.rb PERF: cook message in background (#24227) 2023-11-06 15:45:30 +01:00
bookmark_message_spec.rb FIX: Double trigger of close user menu (#30732) 2025-01-15 10:38:08 +10:00
browse_page_spec.rb FIX: set channels tab as default on mobile chat footer (#25296) 2024-01-17 17:12:55 +08:00
channel_members_page_spec.rb UX: add flex to mentions mixin + update units (#32145) 2025-04-04 12:20:35 +10:00
channel_message_upload_spec.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
channel_settings_page_spec.rb FEATURE: enable threading in chat DM channels (#29170) 2024-10-11 13:05:07 +04:00
channel_thread_message_echoing_spec.rb DEV: makes every spec use new messages helper (#23163) 2023-08-21 16:31:58 +02:00
chat_channel_spec.rb DEV: Attempt to fix flaky search system test (#32053) 2025-03-28 11:16:43 +08:00
chat_composer_draft_spec.rb DEV: Skip flaky test (#31849) 2025-03-17 10:39:22 +08:00
chat_composer_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
chat_footer_spec.rb FIX: show urgent badge for mentions in DM threads (#29821) 2024-11-29 12:52:55 +04:00
chat_message_creator_spec.rb FIX: chat direct message group user limit is off by 1 (#27014) 2024-06-03 12:11:49 +04:00
chat_message_interaction_spec.rb DEV: Fix a warning in a chat spec (#30904) 2025-01-21 23:44:28 +01:00
chat_message_onebox_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
chat_new_message_spec.rb DEV: Fix a flaky chat system test (#32055) 2025-03-28 12:54:27 +08:00
closed_channel_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
create_channel_spec.rb DEV: ensures channel has been created (#30445) 2024-12-23 13:54:22 +01:00
dates_separators_spec.rb DEV: Remove the use of Capybara::Session#quit (#24978) 2023-12-20 13:20:14 +08:00
deleted_channel_spec.rb PERF: cook message in background (#24227) 2023-11-06 15:45:30 +01:00
deleted_message_spec.rb FEATURE: Allow to bulk delete chat messages (#26586) 2024-05-22 08:57:00 -03:00
document_title_spec.rb DEV: Fix flaky system test (#26479) 2024-04-03 10:04:48 +08:00
drawer_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
edited_message_spec.rb DEV: Remove the use of Capybara::Session#quit (#24978) 2023-12-20 13:20:14 +08:00
flag_message_spec.rb UX: enhances chat copy features (#23770) 2023-10-04 16:14:37 +02:00
hashtag_autocomplete_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
invite_users_to_channel_spec.rb DEV: Provide user input to services using params key 2024-10-25 09:57:59 +02:00
kick_user_from_channel_spec.rb DEV: Remove flaky system test (#31899) 2025-03-19 12:20:23 +08:00
last_visit_spec.rb FIX: improves reliability of last visit line in chat (#30948) 2025-01-27 10:38:41 +01:00
mention_warnings_spec.rb PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
message_errors_spec.rb FIX: dont allow channel non-members to write messages in threads (#31697) 2025-03-07 15:50:30 +04:00
message_notifications_mobile_spec.rb FIX: remove complicated 'chat_duplicate_message_sensitivity' site setting (#30516) 2025-01-13 12:32:51 +01:00
message_notifications_with_sidebar_spec.rb FIX: show urgent badge for mentions in DM threads (#29821) 2024-11-29 12:52:55 +04:00
message_thread_indicator_spec.rb DEV: skip flaky system chat spec (#27737) 2024-07-05 15:27:07 +02:00
message_user_info_spec.rb DEV: Fix RSpec/SpecFilePathSuffix / enable 3 chat spec files (#24750) 2023-12-06 22:25:11 +01:00
move_message_to_channel_spec.rb FEATURE: Support designating multiple groups as mods on category (#28655) 2024-09-04 04:38:46 +03:00
navigation_spec.rb FIX: correctly closes panels in threads (#31013) 2025-01-27 16:34:56 +01:00
react_to_message_spec.rb DEV: revert long press changes (#32668) 2025-05-09 18:58:42 +02:00
read_only_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
removing_channel_spec.rb PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
restore_message_spec.rb DEV: Remove the use of Capybara::Session#quit (#24978) 2023-12-20 13:20:14 +08:00
reviewables_spec.rb FIX: 500 error when reviewable has a missing message (#25113) 2024-01-03 11:49:54 -03:00
rich_editor_extension_transcript_spec.rb DEV: Try fix composer rich text transcript spec (#32364) 2025-04-18 15:52:35 +10:00
send_message_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
separate_sidebar_mode_spec.rb FIX: switch panel back to forum last known url (#31092) 2025-01-31 17:18:24 +04:00
sidebar_navigation_menu_spec.rb UX: new sidebar styling (#29119) 2024-10-08 11:28:36 +02:00
sidebars_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
silenced_user_spec.rb DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
single_thread_spec.rb FEATURE: allows browse page in chat drawer (#27919) 2024-07-16 12:34:37 +02:00
thread_preview_spec.rb DEV: prevents flakey spec (#25855) 2024-02-26 09:43:29 +01:00
transcript_spec.rb FIX: quote from thread in drawer mode (#31137) 2025-02-03 21:20:50 +01:00
unfollow_dm_channel_spec.rb DEV: Remove the use of Capybara::Session#quit (#24978) 2023-12-20 13:20:14 +08:00
update_last_read_spec.rb FIX: ensures last read is updated on new message (#26772) 2024-04-26 18:27:39 +02:00
uploads_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
user_card_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
user_chat_preferences_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
user_profile_spec.rb FEATURE: Restrict profile visibility of low-trust users (#29981) 2024-12-09 13:07:59 +03:00
user_threads_spec.rb UX: add illustrations for empty chat list + split into tabs on drawer (#26910) 2024-05-28 17:00:04 +04:00
visit_channel_spec.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00