Created
January 27, 2014 19:44
-
-
Save sebv/8655881 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| appium git:(sebv-working) ✗ VERBOSE=1 DEVICE=android mocha test/functional/apidemos/gestures.js | |
| apidemo - gestures - | |
| caps --> { app: '/Users/seb/Documents/Work/appium/sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk', | |
| 'app-package': 'com.example.android.apis', | |
| 'app-activity': '.ApiDemos', | |
| device: 'Android' } | |
| opts --> {} | |
| remainingAttemps --> 3 | |
| Driving the web on session: 6aee9b5d-84b6-49c8-ba92-006ff62b8a3a | |
| > POST /session/:sessionID/timeouts/implicit_wait { ms: 5000 } | |
| ◦ should click via x/y pixel coords: > POST /session/:sessionID/execute { script: 'mobile: tap', args: [ { x: 100, y: 300 } ] } | |
| > POST /session/:sessionID/elements { using: 'tag name', value: 'text' } | |
| > GET /session/:sessionID/element/2/text | |
| ✓ should click via x/y pixel coords (8740ms) | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should click via x/y pct: > POST /session/:sessionID/execute { script: 'mobile: tap', args: [ { x: 0.6, y: 0.8 } ] } | |
| > POST /session/:sessionID/elements { using: 'tag name', value: 'text' } | |
| > GET /session/:sessionID/element/13/text | |
| ✓ should click via x/y pct (8615ms) | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should click via touch api: > POST /session/:sessionID/element { using: 'name', value: 'Animation' } | |
| > POST /session/:sessionID/touch/click { element: '17' } | |
| > POST /session/:sessionID/elements { using: 'tag name', value: 'text' } | |
| > GET /session/:sessionID/element/19/text | |
| ✓ should click via touch api (9623ms) | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should swipe screen by pixels @skip-all-android: > POST /session/:sessionID/element { using: 'name', value: 'Views' } | |
| > POST /session/:sessionID/execute { script: 'mobile: swipe', | |
| args: [ { startX: 100, startY: 500, endX: 100, endY: 100, duration: 1.2 } ] } | |
| 1) should swipe screen by pixels @skip-all-android | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should swipe screen by pct @skip-all-android: > POST /session/:sessionID/element { using: 'name', value: 'Views' } | |
| > POST /session/:sessionID/execute { script: 'mobile: swipe', | |
| args: [ { endX: 0.5, endY: 0.05, duration: 0.7 } ] } | |
| 2) should swipe screen by pct @skip-all-android | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should flick screen by pixels @skip-all-android: > POST /session/:sessionID/element { using: 'name', value: 'Views' } | |
| > POST /session/:sessionID/execute { script: 'mobile: flick', | |
| args: [ { startX: 100, startY: 500, endX: 100, endY: 100 } ] } | |
| 3) should flick screen by pixels @skip-all-android | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should flick screen by speed @skip-all-android: > POST /session/:sessionID/element { using: 'name', value: 'Views' } | |
| > POST /session/:sessionID/touch/flick { xspeed: 0, yspeed: -100 } | |
| 4) should flick screen by speed @skip-all-android | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should drag by pixels @skip-all-android: > POST /session/:sessionID/element { using: 'tag name', value: 'listView' } | |
| > POST /session/:sessionID/execute { script: 'mobile: scrollTo', | |
| args: [ { element: '29', text: 'Views' } ] } | |
| 5) should drag by pixels @skip-all-android | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should drag element to point @skip-all-android: > POST /session/:sessionID/element { using: 'tag name', value: 'listView' } | |
| > POST /session/:sessionID/execute { script: 'mobile: scrollTo', | |
| args: [ { element: '30', text: 'Views' } ] } | |
| 6) should drag element to point @skip-all-android | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should drag element to destEl @skip-all-android: > POST /session/:sessionID/element { using: 'tag name', value: 'listView' } | |
| > POST /session/:sessionID/execute { script: 'mobile: scrollTo', | |
| args: [ { element: '31', text: 'Views' } ] } | |
| 7) should drag element to destEl @skip-all-android | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should bring the element into view @skip-all-android: > POST /session/:sessionID/element { using: 'tag name', value: 'listView' } | |
| > POST /session/:sessionID/execute { script: 'mobile: scrollTo', | |
| args: [ { element: '32', text: 'Views' } ] } | |
| 8) should bring the element into view @skip-all-android | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| ◦ should pinch out/in @skip-all-android: > POST /session/:sessionID/element { using: 'tag name', value: 'listView' } | |
| > POST /session/:sessionID/execute { script: 'mobile: scrollTo', | |
| args: [ { element: '33', text: 'Views' } ] } | |
| 9) should pinch out/in @skip-all-android | |
| cmd --> adb shell am start -n com.example.android.apis/.ApiDemos | |
| > DELETE /session/:sessionID | |
| Ending your web drivage.. | |
| 3 passing (3m) | |
| 9 failing | |
| 1) apidemo - gestures - should swipe screen by pixels @skip-all-android: | |
| Error: Error response status: 13. | |
| at Webdriver._newError (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:80:13) | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:156:25 | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:411:5 | |
| at Request._callback (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:281:7) | |
| at Request.self.callback (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
| at Request.EventEmitter.emit (events.js:98:17) | |
| at Request.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
| at Request.EventEmitter.emit (events.js:117:20) | |
| at IncomingMessage.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
| at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
| at _stream_readable.js:920:16 | |
| at process._tickCallback (node.js:415:13) | |
| 2) apidemo - gestures - should swipe screen by pct @skip-all-android: | |
| Error: Error response status: 13. | |
| at Webdriver._newError (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:80:13) | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:156:25 | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:411:5 | |
| at Request._callback (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:281:7) | |
| at Request.self.callback (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
| at Request.EventEmitter.emit (events.js:98:17) | |
| at Request.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
| at Request.EventEmitter.emit (events.js:117:20) | |
| at IncomingMessage.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
| at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
| at _stream_readable.js:920:16 | |
| at process._tickCallback (node.js:415:13) | |
| 3) apidemo - gestures - should flick screen by pixels @skip-all-android: | |
| Error: Error response status: 13. | |
| at Webdriver._newError (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:80:13) | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:156:25 | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:411:5 | |
| at Request._callback (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:281:7) | |
| at Request.self.callback (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
| at Request.EventEmitter.emit (events.js:98:17) | |
| at Request.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
| at Request.EventEmitter.emit (events.js:117:20) | |
| at IncomingMessage.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
| at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
| at _stream_readable.js:920:16 | |
| at process._tickCallback (node.js:415:13) | |
| 4) apidemo - gestures - should flick screen by speed @skip-all-android: | |
| Error: Error response status: 13. | |
| at Webdriver._newError (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:80:13) | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:119:29 | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:411:5 | |
| at Request._callback (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:281:7) | |
| at Request.self.callback (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
| at Request.EventEmitter.emit (events.js:98:17) | |
| at Request.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
| at Request.EventEmitter.emit (events.js:117:20) | |
| at IncomingMessage.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
| at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
| at _stream_readable.js:920:16 | |
| at process._tickCallback (node.js:415:13) | |
| 5) apidemo - gestures - should drag by pixels @skip-all-android: | |
| Error: Error response status: 13. | |
| at Webdriver._newError (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:80:13) | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:156:25 | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:411:5 | |
| at Request._callback (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:281:7) | |
| at Request.self.callback (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
| at Request.EventEmitter.emit (events.js:98:17) | |
| at Request.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
| at Request.EventEmitter.emit (events.js:117:20) | |
| at IncomingMessage.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
| at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
| at _stream_readable.js:920:16 | |
| at process._tickCallback (node.js:415:13) | |
| 6) apidemo - gestures - should drag element to point @skip-all-android: | |
| Error: Error response status: 13. | |
| at Webdriver._newError (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:80:13) | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:156:25 | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:411:5 | |
| at Request._callback (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:281:7) | |
| at Request.self.callback (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
| at Request.EventEmitter.emit (events.js:98:17) | |
| at Request.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
| at Request.EventEmitter.emit (events.js:117:20) | |
| at IncomingMessage.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
| at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
| at _stream_readable.js:920:16 | |
| at process._tickCallback (node.js:415:13) | |
| 7) apidemo - gestures - should drag element to destEl @skip-all-android: | |
| Error: Error response status: 13. | |
| at Webdriver._newError (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:80:13) | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:156:25 | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:411:5 | |
| at Request._callback (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:281:7) | |
| at Request.self.callback (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
| at Request.EventEmitter.emit (events.js:98:17) | |
| at Request.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
| at Request.EventEmitter.emit (events.js:117:20) | |
| at IncomingMessage.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
| at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
| at _stream_readable.js:920:16 | |
| at process._tickCallback (node.js:415:13) | |
| 8) apidemo - gestures - should bring the element into view @skip-all-android: | |
| Error: Error response status: 13. | |
| at Webdriver._newError (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:80:13) | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:156:25 | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:411:5 | |
| at Request._callback (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:281:7) | |
| at Request.self.callback (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
| at Request.EventEmitter.emit (events.js:98:17) | |
| at Request.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
| at Request.EventEmitter.emit (events.js:117:20) | |
| at IncomingMessage.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
| at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
| at _stream_readable.js:920:16 | |
| at process._tickCallback (node.js:415:13) | |
| 9) apidemo - gestures - should pinch out/in @skip-all-android: | |
| Error: Error response status: 13. | |
| at Webdriver._newError (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:80:13) | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:156:25 | |
| at /Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:411:5 | |
| at Request._callback (/Users/seb/Documents/Work/appium/node_modules/wd/lib/webdriver.js:281:7) | |
| at Request.self.callback (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:148:22) | |
| at Request.EventEmitter.emit (events.js:98:17) | |
| at Request.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:876:14) | |
| at Request.EventEmitter.emit (events.js:117:20) | |
| at IncomingMessage.<anonymous> (/Users/seb/Documents/Work/appium/node_modules/wd/node_modules/request/index.js:827:12) | |
| at IncomingMessage.EventEmitter.emit (events.js:117:20) | |
| at _stream_readable.js:920:16 | |
| at process._tickCallback (node.js:415:13) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment