discourse/spec/system/page_objects
Alan Guo Xiang Tan 7fdede9f0f
DEV: Speed up slow system tests (#21803)
What is the problem?

Prior to this change, we had a `has_css?(context + ":not(.is-expanded)"`
check when using the select-kit component page object. The problem here
is that this check will end up waiting the full capybara default wait
time if the select-kit has already been expanded. It turns out that we
were calling this check alot of times when the select-kit has already
been expanded resulting in many tests waiting the full default wait
time.

What is the fix?

The fix here is to specify the `wait: 0` option such that we do not wait
and fundamentally, there is no need for us to wait at all here.
2023-05-29 13:31:02 +08:00
..
components DEV: Speed up slow system tests (#21803) 2023-05-29 13:31:02 +08:00
modals FEATURE: modal for admins to edit Community section (#21668) 2023-05-29 15:20:23 +10:00
pages DEV: Fix flaky user preferences interface system test (#21800) 2023-05-29 11:56:21 +08:00
cdp.rb FEATURE: Reacting to MessageBus in chat thread panel (#21070) 2023-04-13 14:45:50 +02:00