A platform for community discussion. Free, open, simple.
DEV: Attempt to fix flaky test by using `click_button` instead of `click` (#25070)
Alan Guo Xiang Tan2b3a57298723
diff --git a/spec/system/page_objects/modals/insert_table.rb b/spec/system/page_objects/modals/insert_table.rbindex 9e12d462d22..1badcd1dc09 100644--- a/spec/system/page_objects/modals/insert_table.rb+++ b/spec/system/page_objects/modals/insert_table.rb@@ -11,7 +11,7 @@ module PageObjectsenddef cancel- find("#{MODAL_SELECTOR} .d-modal-cancel").click+ click_button(I18n.t("js.cancel"))enddef click_edit_reason