Skip to content

Commit 2b5a566

Browse files
authored
test: fix syntax
1 parent 61dfd40 commit 2b5a566

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/functional/ios/driver_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_default_keyboard_pref
118118
@@driver.find_element(:accessibility_id, 'Keyboard').click
119119

120120
# to wait the animation
121-
auto_correction_name = over_ios26? @@driver ? 'KeyboardAutocorrection' : 'Auto-Correction'
121+
auto_correction_name = over_ios26?(@@driver) ? 'KeyboardAutocorrection' : 'Auto-Correction'
122122
@@driver.wait { |d| d.find_element :accessibility_id, auto_correction_name }
123123

124124
auto_correction = @@driver.wait do |d|

0 commit comments

Comments
 (0)