constants.js 810 B

1234567891011121314151617181920212223
  1. import path from 'path';
  2. const WDA_RUNNER_BUNDLE_ID = 'com.facebook.WebDriverAgentRunner';
  3. const WDA_RUNNER_BUNDLE_ID_FOR_XCTEST = `${WDA_RUNNER_BUNDLE_ID}.xctrunner`;
  4. const WDA_RUNNER_APP = 'WebDriverAgentRunner-Runner.app';
  5. const WDA_SCHEME = 'WebDriverAgentRunner';
  6. const PROJECT_FILE = 'project.pbxproj';
  7. const WDA_BASE_URL = 'http://127.0.0.1';
  8. const PLATFORM_NAME_TVOS = 'tvOS';
  9. const PLATFORM_NAME_IOS = 'iOS';
  10. const SDK_SIMULATOR = 'iphonesimulator';
  11. const SDK_DEVICE = 'iphoneos';
  12. const WDA_UPGRADE_TIMESTAMP_PATH = path.join('.appium', 'webdriveragent', 'upgrade.time');
  13. export {
  14. WDA_RUNNER_BUNDLE_ID, WDA_RUNNER_APP, PROJECT_FILE,
  15. WDA_SCHEME, PLATFORM_NAME_TVOS, PLATFORM_NAME_IOS,
  16. SDK_SIMULATOR, SDK_DEVICE, WDA_BASE_URL, WDA_UPGRADE_TIMESTAMP_PATH,
  17. WDA_RUNNER_BUNDLE_ID_FOR_XCTEST
  18. };