discourse/plugins/chat/spec/system/page_objects
Alan Guo Xiang Tan 7218da7510
DEV: Fix and improve chat system test for editing name and slug (#21810)
This commit introduces a couple of changes:

1. When editing a chat channel's slug, we were using `this.model.set("title", title)` when the `set`
   function does not exist. This was actually throwing the error in the
   "can edit slug" system test where the modal was not closed after
   saving and was flashing an error.

2. Introduce `PageObjects::Pages::ChatChannelAbout` and
   `PageObjects::Modals::ChatChannelEdit` page object to encapsulate
   logic better.
2023-05-29 18:00:59 +02:00
..
chat DEV: Fix and improve chat system test for editing name and slug (#21810) 2023-05-29 18:00:59 +02:00
chat_drawer FEATURE: Initial chat thread unread indicators (#21694) 2023-05-25 09:56:19 +02:00
modals DEV: Fix and improve chat system test for editing name and slug (#21810) 2023-05-29 18:00:59 +02:00
sidebar DEV: Switch to data attributes to represent sidebar section name (#20771) 2023-03-23 13:09:45 +08:00