discourse/spec/system/page_objects/components
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
..
ace_editor.rb DEV: Create form templates (#20189) 2023-02-08 11:21:39 -08:00
base.rb DEV: Change sidebar header dropdown to use wait_for_animation (#20627) 2023-03-10 14:54:57 +10:00
composer.rb DEV: Speed up core system tests (#21394) 2023-05-05 07:45:53 +08:00
dialog.rb FIX: Blank dialog when auto-join selected in channel creation modal (#20405) 2023-02-22 17:38:54 +10:00
emoji_picker.rb DEV: Speed up core system tests (#21394) 2023-05-05 07:45:53 +08:00
fast_editor.rb FIX: Fast edit doesn’t work on content with certain characters (#20410) 2023-02-23 11:30:16 +08:00
legacy_header_dropdown.rb FIX: Override navigation menu to "legacy" via query param not working (#20402) 2023-02-22 06:43:14 +08:00
select_kit.rb DEV: Speed up slow system tests (#21803) 2023-05-29 13:31:02 +08:00
sidebar.rb FEATURE: modal for admins to edit Community section (#21668) 2023-05-29 15:20:23 +10:00
sidebar_header_dropdown.rb FEATURE: modal for admins to edit Community section (#21668) 2023-05-29 15:20:23 +10:00
topic_list.rb FIX: Incorrect topic tracking state count when a new category is created (#20506) 2023-03-06 10:13:10 +08:00
topic_query_filter.rb UX: Styling adjustments for filters page (#20768) 2023-03-23 06:28:47 +08:00