mirror of
https://github.com/appium/appium.git
synced 2026-10-18 13:41:26 +08:00
974a8c3891
* docs: tweak platform-support in readme and platform-support page * add you.i and flutter * add section, tweak gecko, review * test: update ruby sample * fix android * update readme * remove unused gem
33 lines
701 B
Ruby
33 lines
701 B
Ruby
# require 'test/unit'
|
|
# extend Test::Unit::Assertions
|
|
|
|
ANDROID_PACKAGE = 'io.appium.android.apis'
|
|
def android_caps
|
|
{
|
|
caps: {
|
|
platformName: 'Android',
|
|
platformVersion: ENV['ANDROID_PLATFORM_VERSION'] || '10',
|
|
deviceName: 'Android',
|
|
app: '../apps/ApiDemos-debug.apk',
|
|
automationName: 'UIAutomator2',
|
|
},
|
|
appium_lib: {
|
|
wait: 60
|
|
}
|
|
}
|
|
end
|
|
|
|
def ios_caps
|
|
{
|
|
caps: {
|
|
platformName: 'iOS',
|
|
platformVersion: ENV["IOS_PLATFORM_VERSION"] || '14.2',
|
|
deviceName: ENV["IOS_DEVICE_NAME"] || 'iPhone 12',
|
|
app: '../apps/TestApp.app.zip',
|
|
automationName: 'XCUITest',
|
|
},
|
|
appium_lib: {
|
|
wait: 60
|
|
}
|
|
}
|
|
end |