config.json 1.25 KB
{
  "port": 8889,
  "iosCaps": {
    "platformName": "iOS",
    "automationName": "XCUITest",
    "deviceName": "iPhone 6",
    "platformVersion": "12.1.4",
    "app": "/Users/chenfeng/Downloads/yoho.ipa",
    "udid": "auto",
    "autoAcceptAlerts": true,
    "showIOSLog": false,
    "noReset": true
  },
  "androidCaps": {
    "platformName": "Android",
    "automationName": "UiAutomator2",
    "deviceName": "My Android Device",
    "platformVersion": "9",
    "app": "/Users/chenfeng/Downloads/yoho.apk",
    "autoAcceptAlerts": true,
    "noReset": true,
    "appPackage": "com.yoho",
    "appActivity": "com.yoho.yohobuy.start.ui.StartActivity"
  },
  "serverConfig": {
    "host": "localhost",
    "port": 4723
  },
  "cases": {
    "ios": [
      {
        "name": "有货iOS自动自测用例",
        "scenes": [
          "iOS_TAB_HOME",
          "iOS_TAB_CATEGORY",
          "iOS_TAB_UFOHOME",
          "iOS_TAB_MINE",
          "IOS_PRODUCT_DETAIL",
          "IOS_PRODUCT_DETAIL_GROUP",
          "iOS_BUSINESS_SHOPPING"
        ]
      }
    ],
    "android": [{
      "name": "商品详情页",
      "scenes": ["ANDROID_UFO_PRODUCT_DETAIL"]
    }, {
      "name": "购物车",
      "scenes": ["ANDROID_PRODUCT_DETAIL", "ANDROID_PRODUCT_CART"]
    }]
  }
}