discourse/spec/system/composer
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
..
category_templates_spec.rb
default_to_subcategory_spec.rb
discard_draft_spec.rb FIX: editing post while replying (#29985) 2024-12-02 16:06:36 +01:00
dont_feed_the_trolls_popup_spec.rb DEV: move post flags into database (#27125) 2024-05-23 12:19:07 +10:00
morphed_preview_spec.rb DEV: refactor morphed preview specs 2024-04-10 10:36:20 +02:00
post_validation_spec.rb
review_media_unless_trust_level_spec.rb
template_validation_spec.rb DEV: Fix case inconsistency in translation file (#26456) 2024-04-02 14:39:46 +08:00