summaryrefslogtreecommitdiff
path: root/qa/qa/support/page/logging.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/support/page/logging.rb')
-rw-r--r--qa/qa/support/page/logging.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/qa/qa/support/page/logging.rb b/qa/qa/support/page/logging.rb
index 281e1b85cc3..ea0307e58b2 100644
--- a/qa/qa/support/page/logging.rb
+++ b/qa/qa/support/page/logging.rb
@@ -64,6 +64,12 @@ module QA
super
end
+ def click_element_coordinates(name)
+ log(%Q(clicking the coordinates of :#{name}))
+
+ super
+ end
+
def click_element(name, page = nil, **kwargs)
msg = ["clicking :#{name}"]
msg << ", expecting to be at #{page.class}" if page
@@ -120,7 +126,7 @@ module QA
found
end
- def finished_loading?
+ def finished_loading?(wait: QA::Support::Repeater::DEFAULT_MAX_WAIT_TIME)
log('waiting for loading to complete...')
now = Time.now