discourse/spec/system
Régis Hanol 9bdd97db42
FIX: editing post while replying (#29985)
BEFORE: if you click the "reply" button on a post and then decided that you want to "edit" the same post, clicking the "edit" button would do nothing. Clicking "edit" on another post works, but editing the same post would appear broken.

AFTER: if you click the "edit" button, it will properly load the content of the post you're trying to edit. No matter which one it is.

This was somewhat tricky to track down as the system specs seemed to contradict the qunit tests until I realized that the qunit tests were only testing the edit on the 1st post and the system specs were testing on replies.

I improved the qunit tests to test both editing OP and a reply and (hopefully) made the system specs a little bit clearer.

This is a follow up to bbe62d88d2.
2024-12-02 16:06:36 +01:00
..
composer
emojis
groups
helpers
page_objects
topic_list
user_page
about_page_spec.rb
admin_about_config_area_spec.rb
admin_backups_spec.rb
admin_badges_grouping_modal_spec.rb
admin_badges_spec.rb
admin_customize_emojis_spec.rb
admin_customize_form_templates_spec.rb
admin_customize_themes_spec.rb
admin_dashboard_community_health_spec.rb
admin_dashboard_new_features_spec.rb
admin_editing_objects_typed_theme_setting_spec.rb
admin_embeddable_hosts_spec.rb
admin_flags_spec.rb
admin_notices_spec.rb
admin_permalinks_page_spec.rb
admin_sidebar_navigation_spec.rb
admin_site_setting_requires_confirmation_spec.rb
admin_site_setting_search_spec.rb
admin_site_texts_spec.rb
admin_staff_action_logs_spec.rb
admin_user_badges_spec.rb
admin_user_fields_spec.rb
admin_user_spec.rb
admin_users_list_spec.rb
admin_watched_words_spec.rb
admin_web_hook_events_spec.rb
bookmarks_spec.rb
bootstrap_error_pages_spec.rb
category_topics_spec.rb
change_owner_spec.rb
composer_spec.rb
composer_uploads_spec.rb
content_security_policy_spec.rb
create_account_spec.rb
create_invite_spec.rb
csv_exports_spec.rb
custom_sidebar_sections_spec.rb
discovery_breadcrumb_navigation_spec.rb
discovery_category_spec.rb
discovery_list_spec.rb
dismissing_new_spec.rb
edit_category_form_templates_spec.rb
edit_category_security_spec.rb
editing_sidebar_categories_navigation_spec.rb
editing_sidebar_community_section_spec.rb
editing_sidebar_tags_navigation_spec.rb
email_change_spec.rb
ember_deprecation_spec.rb
filtering_topics_spec.rb
flagging_post_spec.rb
forgot_password_spec.rb
grant_badge_spec.rb
group_activity_spec.rb
group_card_spec.rb
hashtag_autocomplete_spec.rb
header_spec.rb
homepage_spec.rb
keyboard_shortcuts_spec.rb
login_spec.rb
navigation_menu_state_integration_spec.rb
network_disconnected_spec.rb
new_category_spec.rb
new_topic_list_spec.rb
post_menu_spec.rb
post_replies_spec.rb
post_selection_copy_quote_spec.rb
post_selection_fast_edit_spec.rb
post_small_action_spec.rb
powered_by_discourse_spec.rb
private_message_map_spec.rb
request_tracker_spec.rb
reviewables_spec.rb
s3_secure_uploads_spec.rb
s3_uploads_spec.rb
scroll_manager_service_spec.rb
search_spec.rb
signup_spec.rb
social_authentication_spec.rb
table_builder_spec.rb
tag_notification_level_spec.rb
tag_synonyms_spec.rb
tag_view_spec.rb
tags_intersection_spec.rb
theme_qunit_spec.rb
topic_admin_menu_spec.rb
topic_bulk_select_spec.rb
topic_list_focus_spec.rb
topic_map_spec.rb
topic_page_spec.rb
topics_unread_when_closed_spec.rb
user_activation_spec.rb
user_activity_bookmarks_spec.rb
user_invites_spec.rb
user_selector_spec.rb
user_tips_spec.rb
viewing_category_spec.rb
viewing_group_members_spec.rb
viewing_navigation_menu_preferences_spec.rb
viewing_sidebar_as_anonymous_user_spec.rb
viewing_sidebar_mobile_spec.rb
viewing_sidebar_spec.rb
viewing_user_menu_spec.rb
viewing_user_private_messages_spec.rb
wizard_spec.rb