discourse/plugins/chat/spec/system
Roman Rizzi 5c699e4384
DEV: Pass messageId as a dynamic segment instead of a query param (#20013)
* DEV: Rnemae channel path to just c

Also swap the channel id and channel slug params to be consistent with core.

* linting

* channel_path

* Drop slugify helper and channel route without slug

* Request slug and route models through the channel model if possible

* DEV: Pass messageId as a dynamic segment instead of a query param

* Ensure change is backwards-compatible

* drop query param from oneboxes

* Correctly extract channelId from routes

* Better route organization using siblings for regular and near-message

* Ensures sessions are unique even when using parallelism

* prevents didReceiveAttrs to clear input mid test

* we disable animations in capybara so sometimes the message was barely showing

* adds wait

* ensures finished loading

* is it causing more harm than good?

* this check is slowing things for no reason

* actually target the button

* more resilient select chat message

* apply similar fix to bookmark

* fix

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2023-02-01 12:39:23 -03:00
..
list_channels DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
page_objects DEV: `/channel` -> `/c` chat route rename (#19782) 2023-01-27 09:58:12 -03:00
shortcuts DEV: Fix random typos (#19973) 2023-01-24 15:41:01 +01:00
user_menu_notifications DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
user_status DEV: attempts to move all Jobs.run_immediately! at top (#19688) 2023-01-03 11:32:27 +01:00
anonymous_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
archive_channel_spec.rb FIX: Improve error reporting and failure modes for channel archiving (#19791) 2023-01-12 10:04:46 +10:00
bookmark_message_spec.rb DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
browse_page_spec.rb FIX: correctly uses request_uri to generate load_more_url (#19680) 2023-01-03 00:19:13 +01:00
channel_about_page_spec.rb FEATURE: Allow editing channel slug (#19948) 2023-01-30 13:18:34 +10:00
channel_info_pages_spec.rb DEV: `/channel` -> `/c` chat route rename (#19782) 2023-01-27 09:58:12 -03:00
channel_members_page_spec.rb DEV: `/channel` -> `/c` chat route rename (#19782) 2023-01-27 09:58:12 -03:00
channel_selector_modal_spec.rb DEV: Improve performance of system test `sign_in` helper (#19579) 2022-12-22 16:03:27 +00:00
channel_settings_page_spec.rb DEV: `/channel` -> `/c` chat route rename (#19782) 2023-01-27 09:58:12 -03:00
chat_channel_spec.rb DEV: enables threadsafe for system tests 2023-01-02 15:17:21 +01:00
chat_composer_spec.rb DEV: Add upload system specs for chat (#19604) 2022-12-23 08:41:10 +01:00
closed_channel_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
create_channel_spec.rb DEV: `/channel` -> `/c` chat route rename (#19782) 2023-01-27 09:58:12 -03:00
deleted_channel_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
edited_message_spec.rb FIX: re-enables using_session tests (#19564) 2022-12-22 14:40:36 +01:00
flag_message_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
hashtag_autocomplete_spec.rb DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
jit_messages_spec.rb DEV: Fix syntax error in spec file (#19702) 2023-01-04 05:51:21 +08:00
message_notifications_mobile_spec.rb DEV: attempts to move all Jobs.run_immediately! at top (#19688) 2023-01-03 11:32:27 +01:00
message_notifications_with_sidebar_spec.rb DEV: attempts to move all Jobs.run_immediately! at top (#19688) 2023-01-03 11:32:27 +01:00
move_message_to_channel_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
navigating_to_message_spec.rb DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
navigation_spec.rb DEV: `/channel` -> `/c` chat route rename (#19782) 2023-01-27 09:58:12 -03:00
network_reconciliation_spec.rb FIX: ensures recovering network doesn't create unread mentions (#19597) 2022-12-23 07:38:45 +01:00
react_to_message_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
read_only_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
replying_indicator_spec.rb FIX: re-enables using_session tests (#19564) 2022-12-22 14:40:36 +01:00
sidebar_navigation_menu_spec.rb DEV: `/channel` -> `/c` chat route rename (#19782) 2023-01-27 09:58:12 -03:00
sidebars_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
silenced_user_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
transcript_spec.rb DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
unfollow_dm_channel_spec.rb DEV: Improve performance of system test `sign_in` helper (#19579) 2022-12-22 16:03:27 +00:00
uploads_spec.rb DEV: Use UploadReference instead of ChatUpload in chat (#19947) 2023-01-24 13:28:21 +10:00
user_card_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
user_chat_preferences_spec.rb FIX: correctly allows admin to visit a user chat's preferences page (#19619) 2022-12-23 21:18:09 +01:00
visit_channel_spec.rb DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00