summaryrefslogtreecommitdiff
path: root/Tests/ui_helpers.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ui_helpers.gd')
-rw-r--r--Tests/ui_helpers.gd6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/ui_helpers.gd b/Tests/ui_helpers.gd
index 96806b6..ecb1553 100644
--- a/Tests/ui_helpers.gd
+++ b/Tests/ui_helpers.gd
@@ -6,11 +6,11 @@ static func click_control(sender, control: Control):
var rect = control.get_global_rect()
var center = (rect.end - rect.size / 2)
sender.mouse_left_button_down(center, center) \
- .hold_for('1f') \
- .wait('1f')
+ super.hold_for('1f') \
+ super.wait('1f')
return sender
static func press_key(sender, key):
sender.key_down(key) \
- .hold_for('1f')
+ super.hold_for('1f')
return sender