Skip to content

Instantly share code, notes, and snippets.

@dpgraham
Created June 7, 2017 04:07
Show Gist options
  • Save dpgraham/3c08482fe1ca9db7a6bd588f40d18c9f to your computer and use it in GitHub Desktop.
Save dpgraham/3c08482fe1ca9db7a6bd588f40d18c9f to your computer and use it in GitHub Desktop.
The server is running
Start New SessionStop Server
[Appium] Welcome to Appium v1.6.4
[Appium] Non-default server args:
[Appium] port: 5723
[Appium] Appium REST http interface listener started on 0.0.0.0:5723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/machan/WebstormProjects/myticketingtest/apps/myticketing_ui.app/","browserName":"","deviceName":"iPad Air","orientation":"","platformName":"iOS","platformVersion":"10.3","newCommandTimeout":0,"connectHardwareKeyboard":true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/machan/WebstormProjects/myticketingtest/apps/myticketing_ui.app/","browserName":"","deviceName":"iPad Air","orientation":"","platformName":"iOS","platformVersion":"10.3","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null,null,null]
[BaseDriver] Event 'newSessionRequested' logged at 1496793747497 (10:02:27 GMT+1000 (AEST))
[Appium] Requested iOS support with version >= 10, using XCUITest driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[Appium] Creating new XCUITestDriver (v2.27.2) session
[Appium] Capabilities:
[Appium] app: '/Users/machan/WebstormProjects/myticketingtest/apps/myticketing_ui.app/'
[Appium] browserName: ''
[Appium] deviceName: 'iPad Air'
[Appium] orientation: ''
[Appium] platformName: 'iOS'
[Appium] platformVersion: '10.3'
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[XCUITest] XCUITestDriver version: 2.27.2
[BaseDriver] Session created with session id: 43542755-803c-4035-ba64-70d1bf194b3f
[XCUITest] Xcode version set to '8.3.2' (tools v8.3.2.0.1.1492020469)
[XCUITest] iOS SDK Version set to '10.3'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1496793747550 (10:02:27 GMT+1000 (AEST))
[iOSSim] Constructing iOS simulator for Xcode version 8.3.2 with udid 'F66305EA-B528-4857-801D-EA7D228C71E2'
[XCUITest] Determining device to run tests on: udid: 'F66305EA-B528-4857-801D-EA7D228C71E2', real device: false
[BaseDriver] Using local app '/Users/machan/WebstormProjects/myticketingtest/apps/myticketing_ui.app/'
[BaseDriver] Event 'appConfigured' logged at 1496793747751 (10:02:27 GMT+1000 (AEST))
[XCUITest] Checking whether app '/Users/machan/WebstormProjects/myticketingtest/apps/myticketing_ui.app/' is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app '/Users/machan/WebstormProjects/myticketingtest/apps/myticketing_ui.app/': 'org.reactjs.native.example.myticketing-ui'
[XCUITest] Setting 'connectHardwareKeyboard' Simulator option to 'on'
[BaseDriver] Event 'resetStarted' logged at 1496793747753 (10:02:27 GMT+1000 (AEST))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[BaseDriver] Event 'resetComplete' logged at 1496793747914 (10:02:27 GMT+1000 (AEST))
[iOSLog] Starting iOS 10.3 simulator log capture
[iOSLog] System log path: /Users/machan/Library/Logs/CoreSimulator/F66305EA-B528-4857-801D-EA7D228C71E2/system.log
[BaseDriver] Event 'logCaptureStarted' logged at 1496793748028 (10:02:28 GMT+1000 (AEST))
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[XCUITest] Reset requested. Removing app with id 'org.reactjs.native.example.myticketing-ui' from the device
[XCUITest] Simulator with udid 'F66305EA-B528-4857-801D-EA7D228C71E2' already booted
[BaseDriver] Event 'simStarted' logged at 1496793748220 (10:02:28 GMT+1000 (AEST))
[XCUITest] Installing /Users/machan/WebstormProjects/myticketingtest/apps/myticketing_ui.app/ on Simulator with UUID 'F66305EA-B528-4857-801D-EA7D228C71E2'...
[XCUITest] The app has been installed successfully.
[BaseDriver] Event 'appInstalled' logged at 1496793753332 (10:02:33 GMT+1000 (AEST))
[BaseDriver] Event 'wdaStartAttempted' logged at 1496793753336 (10:02:33 GMT+1000 (AEST))
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Killing hanging processes
[XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=F66305EA-B528-4857-801D-EA7D228C71E2 -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.3' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Output from xcodebuild will not be logged
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Log file for xcodebuild test: /Users/machan/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/7870F4AF-991C-4E27-B097-D3F4C842AE81/Session-WebDriverAgentRunner-2017-06-07_100234-YDksFG.log
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"10.3\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"10.3\",\n \"ip\" : \"10.96.80.86\"\n },\n \"build\" : {\n \"time\" : \"May 24 2017 15:00:45\"\n }\n },\n \"sessionId\" : \"9F29B0AA-1CBB-4111-84A9-10219DA8E9D4\",\n \"status\" : 0\n}"
[XCUITest] WebDriverAgent running on ip '10.96.80.86'
[XCUITest] WebDriverAgent successfully started after 7292ms
[BaseDriver] Event 'wdaSessionAttempted' logged at 1496793760796 (10:02:40 GMT+1000 (AEST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"org.reactjs.native.example.myticketing-ui","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"294C349D-D51A-463B-A078-0CEE4B365C54","capabilities":{"device":"ipad","browserName":"MyTicketing","sdkVersion":"10.3","CFBundleIdentifier":"org.reactjs.native.example.myticketing-ui"}},"sessionId":"294C349D-D51A-463B-A078-0CEE4B365C54","status":0}
[BaseDriver] Event 'wdaSessionStarted' logged at 1496793762797 (10:02:42 GMT+1000 (AEST))
[XCUITest] Found WDA derived data folder: '/Users/machan/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy'
[XCUITest] Setting '555' permissions to '/Users/machan/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Attachments' folder
[XCUITest] Found WDA derived data folder: '/Users/machan/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[XCUITest] Setting '555' permissions to '/Users/machan/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Attachments' folder
[BaseDriver] Event 'wdaPermsAdjusted' logged at 1496793762800 (10:02:42 GMT+1000 (AEST))
[BaseDriver] Event 'wdaStarted' logged at 1496793762801 (10:02:42 GMT+1000 (AEST))
[XCUITest] Unable to set initial orientation to ''
[BaseDriver] Event 'orientationSet' logged at 1496793762801 (10:02:42 GMT+1000 (AEST))
[Appium] New XCUITestDriver session created successfully, session 43542755-803c-4035-ba64-70d1bf194b3f added to master session list
[BaseDriver] Event 'newSessionStarted' logged at 1496793762802 (10:02:42 GMT+1000 (AEST))
[MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"app":"/Users/machan/WebstormProjects/myticketingtest/apps/myticketing_ui.app/","deviceName":"iPad Air","orientation":"","platformName":"iOS","platformVersion":"10.3","newCommandTimeout":0,"connectHardwareKeyboard":true,"udid":"F66305EA-B528-4857-801D-EA7D228C71E2"}
[HTTP] <-- POST /wd/hub/session 200 15308 ms - 535
[HTTP] --> POST /wd/hub/session/43542755-803c-4035-ba64-70d1bf194b3f/context {"name":"NATIVE_APP"}
[MJSONWP] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","43542755-803c-4035-ba64-70d1bf194b3f"]
[XCUITest] Executing command 'setContext'
[iOS] Attempting to set context to 'NATIVE_APP'
[MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/43542755-803c-4035-ba64-70d1bf194b3f/context 200 4 ms - 76
[HTTP] --> GET /wd/hub/session/43542755-803c-4035-ba64-70d1bf194b3f/source {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: ["43542755-803c-4035-ba64-70d1bf194b3f"]
[XCUITest] Executing command 'getPageSource'
[JSONWP Proxy] Proxying [GET /source] to [GET http://localhost:8100/session/294C349D-D51A-463B-A078-0CEE4B365C54/source] with no body
[JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"\\n\\n \\n \\n \\n
[MJSONWP] Responding to client with driver.getPageSource() result: "\n \n \n \n \n
[HTTP] <-- GET /wd/hub/session/43542755-803c-4035-ba64-70d1bf194b3f/source 200 56 ms - 5813
[HTTP] --> GET /wd/hub/session/43542755-803c-4035-ba64-70d1bf194b3f/screenshot {}
[MJSONWP] Calling AppiumDriver.getScreenshot() with args: ["43542755-803c-4035-ba64-70d1bf194b3f"]
[XCUITest] Executing command 'getScreenshot'
[MJSONWP] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAwAAAAQACAYAAABWJj4AAAAEDWlDQ1BJQ0MgUHJvZmlsZQAAOI2NVV1oHFUUPrtzZyMkzlNsNIV0qD8NJQ2TVjShtLp/3d02bpZJNtoi6GT27s6Yyc44M7v9oU9FUHwx6psUxL+3gCAo9Q/bPrQvlQol2tQgKD60+INQ6Ium65k7M5lpurHeZe58853vnnvuuWfvBei5qliWkRQBFpquLRcy4nOHj4g9K5CEh6AXBqFXUR0rXalMAjZPC3e1W99Dwntf2dXd/p+tt0YdFSBxH2Kz5qgLiI8B8KdVy3YBevqRHz/qWh72Yui3MUDEL3q44WPXw3M+fo1pZuQs4tOIBVVTaoiXEI/MxfhGDPsxsNZfoE1q66ro5aJim3XdoLFw72H+n23BaIXzbcOnz5mfPoTvYVz7KzUl5+FRxEuqkp9G/Ajia219thzg25abkRE/BpDc3pqvphHvRFys2weqvp+krbWKIX7nhDbzLOItiM8358pTwdirqpPFnMF2xLc1WvLyOwTAibpbmvHHcvttU57y5+XqNZrLe3lE/Pq8eUj2fXKfOe3pfOjzhJYtB/yll5SDFcSDiH+hRkH25+L+sdxKEAMZahrlSX8ukqMOWy/jXW2m6M9LDBc31B9LFuv6gVKg/0Szi3KAr1kGq1GMjU/aLbnq6/lRxc4XfJ98hTargX++DbMJBSiYMIe9Ck1YAxFkKEAG3xbYaKmDDgYyFK0UGYpfoWYXG+fAPPI6tJnNwb7ClP7IyF+D+bjOtCpkhz6CFrIa/I6sFtNl8auFXGMTP34sNwI/JhkgEtmDz14ySfaRcTIBInmKPE32kxyyE2Tv+thKbEVePDfW/byMM1Kmm0XdObS7oGD/MypMXFPXrCwOtoYjyyn7BV29/MZfsVzpLDdRtuIZnbpXzvlf+ev8MvYr/Gqk4H/kV/G3csdazLuyTMPsbFhzd1UabQbjFvDRmcWJxR3zcfHkVw9GfpbJmeev9F08WW8u...
[HTTP] <-- GET /wd/hub/session/43542755-803c-4035-ba64-70d1bf194b3f/screenshot 200 217 ms - 659446
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment