discourse/plugins/chat/spec/system/reply_to_message
Joffrey JAFFEUX 111ac4c7f2
FIX: call composer reset with correct params (#21777)
We were calling reset without the proper params which was causing errors in the console. This commit does the following changes:

- ensures `composer.cancel()` is the only way to cancel editing/reply
- adds a `draftSaved` property to chat message to allow for better tests
- writes a spec to ensure the flow is correct
- adds more page objects for better tests
- homogenize the default state of objects on chat message

Co-authored-by: Martin Brennan <martin@discourse.org>
2023-05-30 18:37:30 +02:00
..
drawer_spec.rb FIX: call composer reset with correct params (#21777) 2023-05-30 18:37:30 +02:00
full_page_spec.rb FIX: Create original message user thread membership (#21808) 2023-05-29 17:37:17 +02:00
mobile_spec.rb FIX: call composer reset with correct params (#21777) 2023-05-30 18:37:30 +02:00
smoke_spec.rb