mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 07:06:47 +08:00
REFACTOR: handles every chat resource as an URL (#18961)
- Note this is also tweaking the UI a little bit as we are now using links/buttons in the header as needed - It disables the find ideal channel in drawer mode, if loading `/chat` in drawer mode it will either reopen at the last position or just stay on index
This commit is contained in:
@ -136,7 +136,6 @@ acceptance("Discourse Chat - Composer - unreliable network", function (needs) {
|
||||
});
|
||||
|
||||
test("Sending a message with unreliable network", async function (assert) {
|
||||
this.chatService.set("chatWindowFullPage", false);
|
||||
await visit("/chat/channel/11/-");
|
||||
await fillIn(".chat-composer-input", "network-error-message");
|
||||
await click(".send-btn");
|
||||
@ -174,7 +173,6 @@ acceptance("Discourse Chat - Composer - unreliable network", function (needs) {
|
||||
});
|
||||
|
||||
test("Draft with unreliable network", async function (assert) {
|
||||
this.chatService.set("chatWindowFullPage", false);
|
||||
await visit("/chat/channel/11/-");
|
||||
this.chatService.set("isNetworkUnreliable", true);
|
||||
await settled();
|
||||
|
Reference in New Issue
Block a user