Skip to content

Commit 7619052

Browse files
committed
tweak test cases
1 parent 87cb224 commit 7619052

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/android/android/mobile_commands_test.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_backdoor
191191
@driver = @core.start_driver
192192

193193
assert_mobile_command_error 'mobile: backdoor', { target: :activity, methods: [{ name: 'noMethod', args: [] }] },
194-
'No public method noMethod definded on class io.appium.android.apis.view.TextSwitcher1'
194+
"No public method"
195195

196196
e = @driver.find_elements :class, 'android.widget.TextView'
197197
assert_equal '0', e.last.text
@@ -245,7 +245,7 @@ def test_webatom
245245
}]
246246
}
247247
end
248-
assert error.message.include? "Cannot execute method on 'androidx.test.espresso.web.webdriver.DriverAtoms'."
248+
assert error.message.include? "Cannot execute methodq"
249249
end
250250

251251
def test_device_info

0 commit comments

Comments
 (0)