Skip to content

Instantly share code, notes, and snippets.

@bootstraponline
Created May 12, 2014 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bootstraponline/8fabfaac1ddd23aade7a to your computer and use it in GitHub Desktop.
Save bootstraponline/8fabfaac1ddd23aade7a to your computer and use it in GitHub Desktop.
$ bin/test.sh --android
/usr/bin/xcode-select
RUNNING ANDROID TESTS
---------------------
process.env.LAUNCH_TIMEOUT --> undefined


  gappium
    HelloGappium
      1) "before all" hook

  appium - jsonwp -
    to a non-existent url
      ✓ should get 404 with text/plain body 
    to get list of sessions
      ✓ should return empty list if no session active 
    to a not-yet-implemented url
      ✓ should respond with 501 Not Implemented 
    to a variable resource that doesnt exist
      ✓ should respond with a 404 
    that generates a server error
      ✓ should respond with a 500 
    that generates a server crash
      ✓ should respond with a 500 

  apidemos - attributes -
    ✓ should be able to find text attribute (1003ms)
    ✓ should be able to find name attribute (741ms)
    ✓ should be able to find name attribute, falling back to text (4729ms)
    ✓ should be able to find displayed attribute (1491ms)
    ✓ should be able to find displayed attribute through normal func (782ms)
    ✓ should be able to get element location (1482ms)
    ✓ should be able to get element size (1086ms)

  apidemo - basic -
    short command timeout
      ✓ should die with short command timeout (4044ms)
    commands coming in
      ✓ should not die if commands come in (15133ms)
    api
      ✓ should get device size (120ms)
      ✓ should be able to get current activity (145ms)
      ✓ should be able to get logcat log type 
      ✓ should be able to get logcat logs (352ms)
      ✓ should be able to detect if app is installed (1966ms)
      ✓ should background the app (5498ms)
    with fastReset
      ✓ should still be able to reset (4750ms)
    activity style: no period
      2) should still find activity
      3) "after all" hook
    activity style: fully qualified
      4) should still find activity
      5) "after all" hook
    error cases
      activity style: non-existent
        6) should throw an error
        7) "after all" hook
      bad app path
        8) should throw an error
        9) "after all" hook
    pre-existing uiautomator session
debug: executing: adb push "/Users/user/woven/appium/build/android_bootstrap/AppiumBootstrap.jar" /data/local/tmp/
info: Getting all processes with 'uiautomator'
debug: executing: adb shell "ps 'uiautomator'"
      launching new session
        ✓ should kill pre-existing uiautomator process (65ms)
    appium android
      10) should load an app with using absolute path
      11) "after each" hook

  apidemos - push & pull file -
    ✓ should push and pull a file (118ms)

  apidemo - find elements -
    mobile find
      ✓ should scroll to an element by text or content desc (6508ms)
      ✓ should find a single element by content-description (1349ms)
      ✓ should find a single element by text (1083ms)
    find element(s) methods
      ✓ should find a single element by content-description (810ms)
      ✓ should find an element by class name (1464ms)
      ✓ should find multiple elements by class name (1529ms)
      ✓ should not find an element that doesnt exist (5250ms)
      ✓ should not find multiple elements that doesnt exist (5214ms)
      ✓ should fail on empty locator (1450ms)
      ✓ should find a single element by id (10112ms)
      12) should find a single element by resource-id
      ✓ should find multiple elements by resource-id (1449ms)
      13) should find multiple elements by resource-id even when theres just one
    find element(s) from element
      ✓ should find a single element by tag name (792ms)
      ✓ should find multiple elements by tag name (1505ms)
      ✓ should not find an element that doesnt exist (5475ms)
      ✓ should not find multiple elements that dont exist (6122ms)
    xpath
      ✓ should find element by type (727ms)
      ✓ should find element by text (731ms)
      ✓ should find element by partial text (729ms)
      ✓ should find the last element (697ms)
      14) should find element by xpath index and child
      ✓ should find element by index and embedded desc (693ms)
    find elements using accessibility id locator strategy
      ✓ should find an element by name (527ms)
      ✓ should return an array of one element if the plural "elements" is used (1424ms)
    find elements by -android uiautomator locator strategy
      15) should find elements with a boolean argument
      16) should find elements without prepending "new UiSelector()"
      17) should find elements without prepending "new UiSelector()."
      18) should find elements without prepending "new "
      ✓ should find an element with an int argument (1488ms)
      ✓ should find an element with a string argument (579ms)
      ✓ should find an element with an overloaded method argument (1466ms)
      ✓ should find an element with a Class<T> method argument (1432ms)
      ✓ should find an element with a long chain of methods (641ms)
      19) should find an element with recursive UiSelectors
      ✓ should not find an element with bad syntax (5119ms)
      ✓ should not find an element with a made up method (5093ms)
      ✓ should not find an element which does not exist (5022ms)
    invalid locator strategy
      ✓ should not accept -ios uiautomation locator strategy (43ms)

  apidemo - gestures -
    ✓ should click via x/y pixel coords (3339ms)
    ✓ should click via x/y pct (3273ms)
    ✓ should click via touch api (2137ms)
    ✓ should long click via element value (4845ms)
    ✓ should long click via element value with custom duration (4688ms)
    ✓ should long click via pixel value (5038ms)
    ✓ should long click via relative value (5118ms)
    ✓ should execute down/move/up via element value (10688ms)
    ✓ should execute down/move/up click via pixel value (9269ms)
    ✓ should execute down/move/up via relative value (9322ms)

  apidemo - keyboard -
    ✓ should be able to edit a text field (7357ms)
    20) should be able to edit and clear a text field
    editing unicode text field
      ✓ should be able to send &- (7918ms)
      21) should be able to send & and - in other text
      22) should be able to send - in text
      ✓ should be able to send & in text (8885ms)
      - should be able to send roman characters with diacritics
      - should be able to send Arabic
      - should be able to send Hebrew
      - should be able to send Tamil
      - should be able to send Hindi
      - should be able to send Gujarati
      - should be able to send Bengali
      - should be able to send Chinese
      - should be able to send Japanese
      - should be able to send Georgian
      - should be able to send Russian

  apidemo - location - @skip-ios-all
    ✓ should set geo location (2455ms)

  apidemos - orientation -
    ✓ should rotate screen to landscape (6647ms)
    ✓ should rotate screen to portrait (6679ms)
    ✓ Should not error when trying to rotate to portrait again (6737ms)

  apidemos - screenshot -
    ✓ should get an app screenshot (227ms)
    ✓ should not cause other commands to fail (5793ms)

  apidemos - source -
    ✓ should return the page source (828ms)
    ✓ should return the page source without crashing other commands (182ms)

  apidemo - touch gestures -
    tap visible element
      ✓ should tap an element (2798ms)
      ✓ should tap an element from an offset (3138ms)
      ✓ should tap an element twice (10688ms)
      ✓ should tap an element from an offset twice (11307ms)
    press
      ✓ should work like `tap` when immediately released (11023ms)
      ✓ should work like `longPress` when released after a pause (7848ms)
    longPress
      ✓ should open a context menu (8401ms)
    swipe
      ✓ should be possible with press/moveTo/release (1806ms)
      ✓ should be possible with press/moveTo/release and pixel offset (1770ms)
    drag
      ✓ should drag by pixels (23006ms)
    multi actions
      ✓ should scroll two different lists (43195ms)
      ✓ should scroll two different lists with waits (51161ms)

  toggles
    toggle cellular data
      ✓ should toggle cellular data (24225ms)
      ✓ should toggle cellular data back to initial value (21480ms)
    toggle Flight Mode
      ✓ should toggle Flight Mode (27060ms)
      ✓ should toggle Flight Mode back to initial value (27073ms)
    toggle Location Services
      ✓ should toggle Location Services (19784ms)
      23) should toggle Location Services back to initial value

  android - web_view - 
    ✓ should be web view 
    ✓ should list all contexts (89ms)
    ✓ should raise NoSuchContext (status: 35) @skip-selendroid-all (88ms)
    ✓ should find and click an element (1391ms)
    ✓ should clear input @skip-selendroid-all (993ms)
    ✓ should find and enter key sequence in input @skip-selendroid-all (1661ms)
    ✓ should get web source (292ms)


  100 passing (16m)
  11 pending
  23 failing

  1) gappium HelloGappium "before all" hook:
     Error: [init({"app":"/Users/user/woven/appium/sample-code/apps/io.appium.gappium.sampleapp/platforms/android/ant-build/HelloGappium-debug.apk","appPackage":"io.appium.gappium.sampleapp","appActivity":".HelloGappium","browserName":"","platformName":"Android","deviceName":"Android Emulator","launchTimeout":60000})] The environment you requested was unavailable.
      at /Users/user/woven/appium/node_modules/wd/lib/webdriver.js:127:15
      at Request._callback (/Users/user/woven/appium/node_modules/wd/lib/http-utils.js:62:7)
      at Request.self.callback (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:122:22)
      at Request.EventEmitter.emit (events.js:98:17)
      at Request.<anonymous> (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:888:14)
      at Request.EventEmitter.emit (events.js:117:20)
      at IncomingMessage.<anonymous> (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:839:12)
      at IncomingMessage.EventEmitter.emit (events.js:117:20)
      at _stream_readable.js:920:16
      at process._tickCallback (node.js:415:13)

  2) apidemo - basic - activity style: no period should still find activity:
     TypeError: Cannot read property 'title' of undefined
      at Context.<anonymous> (/Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:134:32)
      at Test.Runnable.run (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:196:15)
      at Runner.runTest (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:374:10)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:452:12
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:299:14)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:309:7
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:247:23)
      at Object._onImmediate (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:330:15)

  3) apidemo - basic - activity style: no period "after all" hook:
     TypeError: Cannot call method 'chain' of undefined
      at Object.tearDown (/Users/user/woven/appium/test/helpers/session.js:110:22)
      at Context.<anonymous> (/Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:131:33)
      at callFn (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:223:21)
      at Hook.Runnable.run (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:216:7)
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:259:10)
      at Object._onImmediate (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:330:15)

  4) apidemo - basic - activity style: fully qualified should still find activity:
     TypeError: Cannot read property 'title' of undefined
      at Context.<anonymous> (/Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:143:32)
      at Test.Runnable.run (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:196:15)
      at Runner.runTest (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:374:10)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:452:12
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:299:14)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:309:7
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:247:23)
      at Object._onImmediate (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:330:15)

  5) apidemo - basic - activity style: fully qualified "after all" hook:
     TypeError: Cannot call method 'chain' of undefined
      at Object.tearDown (/Users/user/woven/appium/test/helpers/session.js:110:22)
      at Context.<anonymous> (/Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:140:33)
      at callFn (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:223:21)
      at Hook.Runnable.run (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:216:7)
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:259:10)
      at Object._onImmediate (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:330:15)

  6) apidemo - basic - error cases activity style: non-existent should throw an error:
     TypeError: Cannot read property 'parent' of undefined
      at /Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:156:36
      at tryNTimes (/Users/user/woven/appium/test/helpers/repeat.js:5:10)
      at Context.<anonymous> (/Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:155:9)
      at Test.Runnable.run (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:196:15)
      at Runner.runTest (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:374:10)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:452:12
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:299:14)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:309:7
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:247:23)
      at Object._onImmediate (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:330:15)

  7) apidemo - basic - error cases activity style: non-existent "after all" hook:
     TypeError: Cannot call method 'chain' of undefined
      at Object.tearDown (/Users/user/woven/appium/test/helpers/session.js:110:22)
      at Context.<anonymous> (/Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:152:35)
      at callFn (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:223:21)
      at Hook.Runnable.run (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:216:7)
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:259:10)
      at Object._onImmediate (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:330:15)

  8) apidemo - basic - error cases bad app path should throw an error:
     TypeError: Cannot read property 'parent' of undefined
      at /Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:170:36
      at tryNTimes (/Users/user/woven/appium/test/helpers/repeat.js:5:10)
      at Context.<anonymous> (/Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:169:9)
      at Test.Runnable.run (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:196:15)
      at Runner.runTest (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:374:10)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:452:12
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:299:14)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:309:7
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:247:23)
      at Object._onImmediate (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:330:15)

  9) apidemo - basic - error cases bad app path "after all" hook:
     TypeError: Cannot call method 'chain' of undefined
      at Object.tearDown (/Users/user/woven/appium/test/helpers/session.js:110:22)
      at Context.<anonymous> (/Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:165:35)
      at callFn (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:223:21)
      at Hook.Runnable.run (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:216:7)
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:259:10)
      at Object._onImmediate (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:330:15)

  10) apidemo - basic - appium android should load an app with using absolute path:
     TypeError: Cannot read property 'title' of undefined
      at Context.<anonymous> (/Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:225:32)
      at Test.Runnable.run (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:196:15)
      at Runner.runTest (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:374:10)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:452:12
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:299:14)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:309:7
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:247:23)
      at /Users/user/woven/appium/node_modules/mocha/lib/runner.js:271:7
      at done (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:185:5)
      at /Users/user/woven/appium/node_modules/mocha/lib/runnable.js:199:9
      at /Users/user/woven/appium/node_modules/q/q.js:1887:17
      at flush (/Users/user/woven/appium/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:415:13)

  11) apidemo - basic - appium android "after each" hook:
     TypeError: Cannot call method 'chain' of undefined
      at Object.tearDown (/Users/user/woven/appium/test/helpers/session.js:110:22)
      at Context.<anonymous> (/Users/user/woven/appium/test/functional/android/apidemos/basic-specs.js:220:37)
      at callFn (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:223:21)
      at Hook.Runnable.run (/Users/user/woven/appium/node_modules/mocha/lib/runnable.js:216:7)
      at next (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:259:10)
      at Object._onImmediate (/Users/user/woven/appium/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:330:15)

  12) apidemo - find elements - find element(s) methods should find a single element by resource-id:
     Error: [elementById("android:id/home")] Error response status: 7, , NoSuchElement - An element could not be located on the page using the given search parameters.
      at exports.newError (/Users/user/woven/appium/node_modules/wd/lib/utils.js:139:13)
      at /Users/user/woven/appium/node_modules/wd/lib/callbacks.js:69:19
      at /Users/user/woven/appium/node_modules/wd/lib/webdriver.js:178:5
      at Request._callback (/Users/user/woven/appium/node_modules/wd/lib/http-utils.js:62:7)
      at Request.self.callback (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:122:22)
      at Request.EventEmitter.emit (events.js:98:17)
      at Request.<anonymous> (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:888:14)
      at Request.EventEmitter.emit (events.js:117:20)
      at IncomingMessage.<anonymous> (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:839:12)
      at IncomingMessage.EventEmitter.emit (events.js:117:20)
      at _stream_readable.js:920:16
      at process._tickCallback (node.js:415:13)

  13) apidemo - find elements - find element(s) methods should find multiple elements by resource-id even when theres just one:

      AssertionError: expected 0 to equal 1
      + expected - actual

      +1
      -0
      
      at /Users/user/woven/appium/test/functional/android/apidemos/find-element-specs.js:96:29
      at _fulfilled (/Users/user/woven/appium/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/Users/user/woven/appium/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/Users/user/woven/appium/node_modules/q/q.js:749:13)
      at /Users/user/woven/appium/node_modules/q/q.js:557:44
      at flush (/Users/user/woven/appium/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:415:13)

  14) apidemo - find elements - xpath should find element by xpath index and child:
     Error: [elementByXPath("//android.widget.FrameLayout[1]/android.view.View[1]/android.widget.FrameLayout[2]/android.widget.ListView[1]/android.widget.TextView[3]")] Error response status: 7, , NoSuchElement - An element could not be located on the page using the given search parameters.
      at exports.newError (/Users/user/woven/appium/node_modules/wd/lib/utils.js:139:13)
      at /Users/user/woven/appium/node_modules/wd/lib/callbacks.js:69:19
      at /Users/user/woven/appium/node_modules/wd/lib/webdriver.js:178:5
      at Request._callback (/Users/user/woven/appium/node_modules/wd/lib/http-utils.js:62:7)
      at Request.self.callback (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:122:22)
      at Request.EventEmitter.emit (events.js:98:17)
      at Request.<anonymous> (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:888:14)
      at Request.EventEmitter.emit (events.js:117:20)
      at IncomingMessage.<anonymous> (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:839:12)
      at IncomingMessage.EventEmitter.emit (events.js:117:20)
      at _stream_readable.js:920:16
      at process._tickCallback (node.js:415:13)

  15) apidemo - find elements - find elements by -android uiautomator locator strategy should find elements with a boolean argument:
     AssertionError: expected 11 to be above 11
      at /Users/user/woven/appium/test/functional/android/apidemos/find-element-specs.js:189:30
      at _fulfilled (/Users/user/woven/appium/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/Users/user/woven/appium/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/Users/user/woven/appium/node_modules/q/q.js:749:13)
      at /Users/user/woven/appium/node_modules/q/q.js:557:44
      at flush (/Users/user/woven/appium/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:415:13)

  16) apidemo - find elements - find elements by -android uiautomator locator strategy should find elements without prepending "new UiSelector()":
     AssertionError: expected 11 to be above 11
      at /Users/user/woven/appium/test/functional/android/apidemos/find-element-specs.js:194:30
      at _fulfilled (/Users/user/woven/appium/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/Users/user/woven/appium/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/Users/user/woven/appium/node_modules/q/q.js:749:13)
      at /Users/user/woven/appium/node_modules/q/q.js:557:44
      at flush (/Users/user/woven/appium/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:415:13)

  17) apidemo - find elements - find elements by -android uiautomator locator strategy should find elements without prepending "new UiSelector().":
     AssertionError: expected 11 to be above 11
      at /Users/user/woven/appium/test/functional/android/apidemos/find-element-specs.js:199:30
      at _fulfilled (/Users/user/woven/appium/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/Users/user/woven/appium/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/Users/user/woven/appium/node_modules/q/q.js:749:13)
      at /Users/user/woven/appium/node_modules/q/q.js:557:44
      at flush (/Users/user/woven/appium/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:415:13)

  18) apidemo - find elements - find elements by -android uiautomator locator strategy should find elements without prepending "new ":
     AssertionError: expected 11 to be above 11
      at /Users/user/woven/appium/test/functional/android/apidemos/find-element-specs.js:204:30
      at _fulfilled (/Users/user/woven/appium/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/Users/user/woven/appium/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/Users/user/woven/appium/node_modules/q/q.js:749:13)
      at /Users/user/woven/appium/node_modules/q/q.js:557:44
      at flush (/Users/user/woven/appium/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:415:13)

  19) apidemo - find elements - find elements by -android uiautomator locator strategy should find an element with recursive UiSelectors:

      AssertionError: expected 1 to equal 2
      + expected - actual

      +2
      -1
      
      at /Users/user/woven/appium/test/functional/android/apidemos/find-element-specs.js:234:27
      at _fulfilled (/Users/user/woven/appium/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/Users/user/woven/appium/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/Users/user/woven/appium/node_modules/q/q.js:749:13)
      at /Users/user/woven/appium/node_modules/q/q.js:557:44
      at flush (/Users/user/woven/appium/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:415:13)

  20) apidemo - keyboard - should be able to edit and clear a text field:

      AssertionError: expected 'this is awesome!' to deeply equal ''
      + expected - actual

      +""
      -"this is awesome!"
      
      at promise.(anonymous function) [as eql] (/Users/user/woven/appium/node_modules/wd/lib/promise-webdriver.js:116:19)
      at assertEqual (/Users/user/woven/appium/node_modules/chai/lib/chai/core/assertions.js:393:19)
      at ctx.(anonymous function) (/Users/user/woven/appium/node_modules/chai/lib/chai/utils/addMethod.js:40:25)
      at /Users/user/woven/appium/node_modules/chai-as-promised/lib/chai-as-promised.js:302:26
      at _fulfilled (/Users/user/woven/appium/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/Users/user/woven/appium/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/Users/user/woven/appium/node_modules/q/q.js:749:13)
      at /Users/user/woven/appium/node_modules/q/q.js:557:44
      at flush (/Users/user/woven/appium/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:415:13)

  21) apidemo - keyboard - editing unicode text field should be able to send & and - in other text:

      AssertionError: expected '&-' to deeply equal ''
      + expected - actual

      +""
      -"&-"
      
      at promise.(anonymous function) [as eql] (/Users/user/woven/appium/node_modules/wd/lib/promise-webdriver.js:116:19)
      at assertEqual (/Users/user/woven/appium/node_modules/chai/lib/chai/core/assertions.js:393:19)
      at ctx.(anonymous function) (/Users/user/woven/appium/node_modules/chai/lib/chai/utils/addMethod.js:40:25)
      at /Users/user/woven/appium/node_modules/chai-as-promised/lib/chai-as-promised.js:302:26
      at _fulfilled (/Users/user/woven/appium/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/Users/user/woven/appium/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/Users/user/woven/appium/node_modules/q/q.js:749:13)
      at /Users/user/woven/appium/node_modules/q/q.js:557:44
      at flush (/Users/user/woven/appium/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:415:13)

  22) apidemo - keyboard - editing unicode text field should be able to send - in text:

      AssertionError: expected '&-' to deeply equal ''
      + expected - actual

      +""
      -"&-"
      
      at promise.(anonymous function) [as eql] (/Users/user/woven/appium/node_modules/wd/lib/promise-webdriver.js:116:19)
      at assertEqual (/Users/user/woven/appium/node_modules/chai/lib/chai/core/assertions.js:393:19)
      at ctx.(anonymous function) (/Users/user/woven/appium/node_modules/chai/lib/chai/utils/addMethod.js:40:25)
      at /Users/user/woven/appium/node_modules/chai-as-promised/lib/chai-as-promised.js:302:26
      at _fulfilled (/Users/user/woven/appium/node_modules/q/q.js:787:54)
      at self.promiseDispatch.done (/Users/user/woven/appium/node_modules/q/q.js:816:30)
      at Promise.promise.promiseDispatch (/Users/user/woven/appium/node_modules/q/q.js:749:13)
      at /Users/user/woven/appium/node_modules/q/q.js:557:44
      at flush (/Users/user/woven/appium/node_modules/q/q.js:108:17)
      at process._tickCallback (node.js:415:13)

  23) toggles toggle Location Services should toggle Location Services back to initial value:
     Error: [toggleLocationServices()] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command.
      at exports.newError (/Users/user/woven/appium/node_modules/wd/lib/utils.js:139:13)
      at /Users/user/woven/appium/node_modules/wd/lib/callbacks.js:30:23
      at /Users/user/woven/appium/node_modules/wd/lib/webdriver.js:178:5
      at Request._callback (/Users/user/woven/appium/node_modules/wd/lib/http-utils.js:62:7)
      at Request.self.callback (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:122:22)
      at Request.EventEmitter.emit (events.js:98:17)
      at Request.<anonymous> (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:888:14)
      at Request.EventEmitter.emit (events.js:117:20)
      at IncomingMessage.<anonymous> (/Users/user/woven/appium/node_modules/wd/node_modules/request/request.js:839:12)
      at IncomingMessage.EventEmitter.emit (events.js:117:20)
      at _stream_readable.js:920:16
      at process._tickCallback (node.js:415:13)



      933.00 real         8.54 user         1.32 sys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment