mirror of
https://github.com/discourse/discourse.git
synced 2025-02-09 04:44:59 +00:00
2b3a572987
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.