mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
Why this change? Some of the tests in `spec/system/table_builder_spec.rb` are flaky when we are asserting that clicking the cancel button will close the modal. This change attempts to fix it by using the `click_button` method instead of `find` then `click` which is more reliable.