mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 13:34:08 +08:00
f76a9aab22
* DEV: Fix and re-enable chat flakys The early return in JS was added to prevent an error from channel being null, and it's better to use known users for the message fabrications in the specs. * DEV: Use travel_to in drawer spec for thread tracking Sometimes in the system test the datetime that is last viewed for the channel for the user and the datetime for the last message created_at is only microseconds of difference, and we do not provide that level of fidelity in the MessageBus serializer, so unreadThreadsCountSinceLastViewed is not accurate. Better to just utilize travel_to and move forward 1 minute in time before sending the new message to easily differentiate. |
||
---|---|---|
.. | ||
drawer_spec.rb | ||
full_page_spec.rb |