discourse/plugins/chat/test/javascripts/acceptance
Joffrey JAFFEUX 49a0129b0d
FIX: prevents chat to enter in endless loop when getting 404 (#18867)
Doing DOM operations in finally would cause them to happen even when the request was a failure. Consequence of these DOM operations would be new request, which would also end up in a 404, and so on.

This commit simply moves the DOM operations in the then block where it should be safe to make.
2022-11-03 19:52:44 +01:00
..
chat-browse-test.js
chat-channel-info-test.js
chat-channel-slug-test.js
chat-channels-list-test.js
chat-composer-test.js
chat-flagging-test.js
chat-keyboard-shortcuts-test.js
chat-live-pane-collapse-test.js
chat-live-pane-mobile-test.js
chat-live-pane-silenced-user-test.js
chat-live-pane-test.js FIX: prevents chat to enter in endless loop when getting 404 (#18867) 2022-11-03 19:52:44 +01:00
chat-message-bookmarking-test.js
chat-message-test.js
chat-move-message-to-channel-test.js
chat-quoting-test.js
chat-sidebar-user-status-test.js DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
chat-status-test.js
chat-test.js DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
chat-transcript-test.js
chat-user-menu-notifications-test.js
composer-hashtag-autocomplete-test.js
core-sidebar-test.js DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
create-channel-test.js
delete-chat-channel-modal-test.js
mobile-chat-test.js UX: Add back button in chat browse screen on mobile (#18849) 2022-11-03 09:06:30 +01:00
nagivation-scenarios-test.js
user-card-chat-test.js DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00