discourse/plugins/chat/spec/system/page_objects
David Taylor edb276b9a9
DEV: Raise exception when capybara finder times out (#22686)
If a selenium finder takes the full wait duration to resolve, that means it has been written inefficiently. Most likely a matcher has been negated incorrectly.

This commit introduces a patch which will raise an error in this situation so that we can catch the issues while developing specs.

This commit also fixes chat's visit_thread helper. It was spinning on `has_css?(".chat-skeleton")` for the full selenium wait duration, and then returns false. That's because the thread is often already fully loaded before `has_css?` is even called. It's now updated to only look for the final expected state.
2023-08-08 10:16:09 +01:00
..
chat DEV: Raise exception when capybara finder times out (#22686) 2023-08-08 10:16:09 +01:00
chat_drawer FIX: Show mention count for channel list on mobile (#22682) 2023-07-19 16:24:01 +10:00
modals DEV: makes chat modals use the new <DModal /> component (#22495) 2023-07-10 13:43:33 +02:00
sidebar FEATURE: Show unread in sidebar for unread channel threads (#22342) 2023-07-17 13:00:49 +10:00