mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 20:52:49 +08:00
7fdede9f0f
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. |
||
---|---|---|
.. | ||
components | ||
modals | ||
pages | ||
cdp.rb |