Skip to content

Instantly share code, notes, and snippets.

@0x2539
Created September 3, 2017 06:08
Show Gist options
  • Save 0x2539/daf241ee57d7af6e3a26294f9826c1bd to your computer and use it in GitHub Desktop.
Save 0x2539/daf241ee57d7af6e3a26294f9826c1bd to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.6.5
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/alexbuicescu/git/instacar/instacar-front-rnw/ios/build/Build/Products/Debug-iphonesimulator/instacarFront.app","platformName":"iOS","platformVersion":"10.3","deviceName":"iPhone 7 Plus","autoAcceptAlerts":true,"autoGrantPermissions":true},"requiredCapabilities":{}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/alexbuicescu/git/instacar/instacar-front-rnw/ios/build/Build/Products/Debug-iphonesimulator/instacarFront.app","platformName":"iOS","platformVersion":"10.3","deviceName":"iPhone 7 Plus","autoAcceptAlerts":true,"autoGrantPermissions":true},{},null]
[BaseDriver] Event 'newSessionRequested' logged at 1504418850726 (09:07:30 GMT+0300 (EEST))
[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.30.0) session
[Appium] Capabilities:
[Appium] app: '/Users/alexbuicescu/git/instacar/instacar-front-rnw/ios/build/Build/Products/Debug-iphonesimulator/instacarFront.app'
[Appium] platformName: 'iOS'
[Appium] platformVersion: '10.3'
[Appium] deviceName: 'iPhone 7 Plus'
[Appium] autoAcceptAlerts: true
[Appium] autoGrantPermissions: true
[XCUITest] XCUITestDriver version: 2.30.0
[BaseDriver] The following capabilities were provided, but are not recognized by appium: autoGrantPermissions.
[XCUITest] The capabilities 'autoAcceptAlerts' and 'autoDismissAlerts' do not work for XCUITest-based tests. Please adjust your alert handling accordingly.
[BaseDriver] Session created with session id: 5a1e681b-f233-4c72-bfd3-2b226ecf5dcd
[XCUITest] Xcode version set to '8.3.3' (tools v8.3.2.0.1.1492020469)
[XCUITest] iOS SDK Version set to '10.3'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1504418850803 (09:07:30 GMT+0300 (EEST))
[iOSSim] Constructing iOS simulator for Xcode version 8.3.3 with udid 'F09395A5-F683-429C-8234-6D75926CAE48'
[XCUITest] Determining device to run tests on: udid: 'F09395A5-F683-429C-8234-6D75926CAE48', real device: false
[BaseDriver] Using local app '/Users/alexbuicescu/git/instacar/instacar-front-rnw/ios/build/Build/Products/Debug-iphonesimulator/instacarFront.app'
[BaseDriver] Event 'appConfigured' logged at 1504418851092 (09:07:31 GMT+0300 (EEST))
[XCUITest] Checking whether app '/Users/alexbuicescu/git/instacar/instacar-front-rnw/ios/build/Build/Products/Debug-iphonesimulator/instacarFront.app' is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app '/Users/alexbuicescu/git/instacar/instacar-front-rnw/ios/build/Build/Products/Debug-iphonesimulator/instacarFront.app': 'com.instacarshare.instacarDev5'
[BaseDriver] Event 'resetStarted' logged at 1504418851094 (09:07:31 GMT+0300 (EEST))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[BaseDriver] Event 'resetComplete' logged at 1504418851302 (09:07:31 GMT+0300 (EEST))
[iOSLog] Starting iOS 10.3 simulator log capture
[iOSLog] System log path: /Users/alexbuicescu/Library/Logs/CoreSimulator/F09395A5-F683-429C-8234-6D75926CAE48/system.log
[BaseDriver] Event 'logCaptureStarted' logged at 1504418851432 (09:07:31 GMT+0300 (EEST))
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[XCUITest] Simulator with udid 'F09395A5-F683-429C-8234-6D75926CAE48' already booted
[BaseDriver] Event 'simStarted' logged at 1504418851639 (09:07:31 GMT+0300 (EEST))
[XCUITest] Reset requested. Removing app with id 'com.instacarshare.instacarDev5' from the device
[XCUITest] Installing /Users/alexbuicescu/git/instacar/instacar-front-rnw/ios/build/Build/Products/Debug-iphonesimulator/instacarFront.app on Simulator with UUID 'F09395A5-F683-429C-8234-6D75926CAE48'...
[XCUITest] The app has been installed successfully.
[BaseDriver] Event 'appInstalled' logged at 1504418857067 (09:07:37 GMT+0300 (EEST))
[BaseDriver] Event 'wdaStartAttempted' logged at 1504418857071 (09:07:37 GMT+0300 (EEST))
[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=F09395A5-F683-429C-8234-6D75926CAE48 -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
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Log file for xcodebuild test: /Users/alexbuicescu/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/5926AC94-669F-4B92-8CBD-2136DA02A3A6/Session-WebDriverAgentRunner-2017-09-03_090739-NChYBG.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] 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.1\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"10.3.1\",\n \"ip\" : \"192.168.0.100\"\n },\n \"build\" : {\n \"time\" : \"Sep 1 2017 23:31:30\"\n }\n },\n \"sessionId\" : \"15243087-4C27-46DE-A6D4-6D5975A734EC\",\n \"status\" : 0\n}"
[XCUITest] WebDriverAgent running on ip '192.168.0.100'
[XCUITest] WebDriverAgent successfully started after 9665ms
[BaseDriver] Event 'wdaSessionAttempted' logged at 1504418866948 (09:07:46 GMT+0300 (EEST))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.instacarshare.instacarDev5","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"64DCA4D6-0565-4291-AD48-3B0E1F695FB2","capabilities":{"device":"iphone","browserName":"instacar","sdkVersion":"10.3.1","CFBundleIdentifier":"com.instacarshare.instacarDev5"}},"sessionId":"64DCA4D6-0565-4291-AD48-3B0E1F695FB2","status":0}
[BaseDriver] Event 'wdaSessionStarted' logged at 1504418870571 (09:07:50 GMT+0300 (EEST))
[XCUITest] Found WDA derived data folder: '/Users/alexbuicescu/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy'
[XCUITest] Setting '555' permissions to '/Users/alexbuicescu/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Attachments' folder
[XCUITest] Found WDA derived data folder: '/Users/alexbuicescu/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs'
[XCUITest] Setting '555' permissions to '/Users/alexbuicescu/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Attachments' folder
[BaseDriver] Event 'wdaPermsAdjusted' logged at 1504418870575 (09:07:50 GMT+0300 (EEST))
[BaseDriver] Event 'wdaStarted' logged at 1504418870575 (09:07:50 GMT+0300 (EEST))
[XCUITest] Setting initial orientation to 'PORTRAIT'
[JSONWP Proxy] Proxying [POST /orientation] to [POST http://localhost:8100/session/64DCA4D6-0565-4291-AD48-3B0E1F695FB2/orientation] with body: {"orientation":"PORTRAIT"}
[JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"64DCA4D6-0565-4291-AD48-3B0E1F695FB2","status":0}
[BaseDriver] Event 'orientationSet' logged at 1504418870715 (09:07:50 GMT+0300 (EEST))
[Appium] New XCUITestDriver session created successfully, session 5a1e681b-f233-4c72-bfd3-2b226ecf5dcd added to master session list
[BaseDriver] Event 'newSessionStarted' logged at 1504418870717 (09:07:50 GMT+0300 (EEST))
[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/alexbuicescu/git/instacar/instacar-front-rnw/ios/build/Build/Products/Debug-iphonesimulator/instacarFront.app","platformName":"iOS","platformVersion":"10.3","deviceName":"iPhone 7 Plus","autoAcceptAlerts":true,"autoGrantPermissions":true,"udid":"F09395A5-F683-429C-8234-6D75926CAE48"}
[HTTP] <-- POST /wd/hub/session 200 19998 ms - 567
[HTTP] --> POST /wd/hub/session/5a1e681b-f233-4c72-bfd3-2b226ecf5dcd/accept_alert {"sessionId":"5a1e681b-f233-4c72-bfd3-2b226ecf5dcd"}
[MJSONWP] Calling AppiumDriver.postAcceptAlert() with args: ["5a1e681b-f233-4c72-bfd3-2b226ecf5dcd"]
[XCUITest] Executing command 'postAcceptAlert'
[JSONWP Proxy] Proxying [POST /alert/accept] to [POST http://localhost:8100/session/64DCA4D6-0565-4291-AD48-3B0E1F695FB2/alert/accept] with body: {}
[JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"64DCA4D6-0565-4291-AD48-3B0E1F695FB2","status":0}
[MJSONWP] Responding to client with driver.postAcceptAlert() result: {}
[HTTP] <-- POST /wd/hub/session/5a1e681b-f233-4c72-bfd3-2b226ecf5dcd/accept_alert 200 890 ms - 74
[HTTP] --> POST /wd/hub/session/5a1e681b-f233-4c72-bfd3-2b226ecf5dcd/element {"using":"accessibility id","value":"menuTopbarButton","sessionId":"5a1e681b-f233-4c72-bfd3-2b226ecf5dcd"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["accessibility id","menuTopbarButton","5a1e681b-f233-4c72-bfd3-2b226ecf5dcd"]
[XCUITest] Executing command 'findElement'
[BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[BaseDriver] Waiting up to 0 ms for condition
[JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/64DCA4D6-0565-4291-AD48-3B0E1F695FB2/element] with body: {"using":"accessibility id","value":"menuTopbarButton"}
[JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"4C659FD9-775C-47C7-BB9E-E132A9EBF7FC","type":"XCUIElementTypeOther","label":null},"sessionId":"64DCA4D6-0565-4291-AD48-3B0E1F695FB2","status":0}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"4C659FD9-775C-47C7-BB9E-E132A9EBF7FC","type":"XCUIElementTypeOther","label":null}
[HTTP] <-- POST /wd/hub/session/5a1e681b-f233-4c72-bfd3-2b226ecf5dcd/element 200 390 ms - 165
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment