Skip to content

Instantly share code, notes, and snippets.

@dpgraham
Created January 21, 2021 21:16
Show Gist options
  • Save dpgraham/d90333a6bc6a35d57789c2aa8eee8e9e to your computer and use it in GitHub Desktop.
Save dpgraham/d90333a6bc6a35d57789c2aa8eee8e9e to your computer and use it in GitHub Desktop.
> appium-xcuitest-driver@3.34.0 e2e-test /Users/danielgraham/appium-xcuitest-driver
> gulp e2e-test
256 passing (47m)
31 pending
4 failing
1) XCUITestDriver - basics -
get geo location -
should fail because of preference error:
AssertionError: expected promise to be rejected with an error including 'Location service must be' but got '[getGeoLocation()] Error response status: 9, , UnknownCommand - The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource. Selenium error: Unhandled endpoint: /session/A5056A77-989A-4681-82F0-7F70928714A4/wda/device/location -- http://127.0.0.1:8100/ with parameters {\n wildcards = (\n "session/A5056A77-989A-4681-82F0-7F70928714A4/wda/device/location"\n );\n}'
+ expected - actual
-[getGeoLocation()] Error response status: 9, , UnknownCommand - The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource. Selenium error: Unhandled endpoint: /session/A5056A77-989A-4681-82F0-7F70928714A4/wda/device/location -- http://127.0.0.1:8100/ with parameters {
- wildcards = (
- "session/A5056A77-989A-4681-82F0-7F70928714A4/wda/device/location"
- );
-}
+Location service must be
2) XCUITestDriver - element(s)
interactions
text fields
set value
should be able to type into two text fields:
Error: [hideKeyboard()] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command. Selenium error: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: timeout of 480000ms exceeded
at exports.newError (node_modules/wd/lib/utils.js:152:13)
at /Users/danielgraham/appium-xcuitest-driver/node_modules/wd/lib/callbacks.js:36:19
at /Users/danielgraham/appium-xcuitest-driver/node_modules/wd/lib/webdriver.js:205:5
at Request._callback (node_modules/wd/lib/http-utils.js:89:7)
at Request.self.callback (node_modules/wd/node_modules/request/request.js:185:22)
at Request.<anonymous> (node_modules/wd/node_modules/request/request.js:1161:10)
at IncomingMessage.<anonymous> (node_modules/wd/node_modules/request/request.js:1083:12)
at endReadableNT (_stream_readable.js:1308:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
3) XCUITestDriver - element(s)
interactions
text fields
clear
should be able to clear two text fields:
Error: [hideKeyboard()] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command. Selenium error: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: timeout of 480000ms exceeded
at exports.newError (node_modules/wd/lib/utils.js:152:13)
at /Users/danielgraham/appium-xcuitest-driver/node_modules/wd/lib/callbacks.js:36:19
at /Users/danielgraham/appium-xcuitest-driver/node_modules/wd/lib/webdriver.js:205:5
at Request._callback (node_modules/wd/lib/http-utils.js:89:7)
at Request.self.callback (node_modules/wd/node_modules/request/request.js:185:22)
at Request.<anonymous> (node_modules/wd/node_modules/request/request.js:1161:10)
at IncomingMessage.<anonymous> (node_modules/wd/node_modules/request/request.js:1083:12)
at endReadableNT (_stream_readable.js:1308:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
4) tvOS
"before all" hook for "should launch com.apple.TVSettings":
Error: Could not create simulator with name 'xcuitestDriverTest', device type id 'Apple TV', with runtime ids 'com.apple.CoreSimulator.SimRuntime.tvOS-14-4', '14.4'
at Simctl.createDevice (node_modules/node-simctl/lib/subcommands/create.js:89:11)
at Context.<anonymous> (test/functional/tv/tvos-e2e-specs.js:23:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment