discourse/spec/system/page_objects/components
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
..
navigation_menu DEV: fix flakey spec in sidebar (#29254) 2024-10-17 22:28:02 +09:00
about_page_site_activity_item.rb
about_page_site_activity.rb
about_page_users_list.rb
ace_editor.rb
admin_about_config_area_contact_information_card.rb
admin_about_config_area_general_settings_card.rb FEATURE: Add 'Community title' field to about config page (#29500) 2024-10-31 10:04:31 +03:00
admin_about_config_area_your_organization_card.rb
admin_theme_settings_editor.rb
admin_theme_translations_settings_editor.rb
admin-header.rb
base.rb
bookmark_menu.rb
calendar_date_time_picker.rb
category_badge.rb
category_list.rb
category_permission_row.rb
composer.rb FIX: editing post while replying (#29985) 2024-12-02 16:06:36 +01:00
d_menu.rb FEATURE: Add bulk destroy to admin users list (#29744) 2024-11-25 11:13:35 +03:00
d_toggle_switch.rb DEV: Avoid a hacky workaround in d-toggle-switch specs (#29376) 2024-10-23 23:11:19 +02:00
dialog.rb
emoji_picker.rb
fast_editor.rb
filter.rb
form_kit.rb DEV: Add support for image fields in FormKit PageObject (#29589) 2024-11-05 15:35:53 +03:00
group-card.rb
logo.rb
new_topic_list_toggle_tab.rb
new_topic_list_toggle.rb
pikaday_calendar.rb
post.rb SECURITY: add pagination to post replies 2024-10-07 11:48:48 +08:00
private_message_map.rb
select_kit.rb
sidebar_header_dropdown.rb
theme_translation_text_area.rb
toasts.rb
tooltips.rb
topic_list_controls.rb
topic_list_header.rb
topic_list.rb
topic_map.rb
topic_query_filter.rb
topic_view.rb
uppy_image_uploader.rb A11Y: make the uppy image uploader keyboard navigable (#29807) 2024-11-19 15:38:13 -05:00
user_menu.rb FIX: chat bookmarks in drawer mode (#29757) 2024-11-14 17:20:11 +01:00