Skip to content

Instantly share code, notes, and snippets.

@mattc41190
Created March 8, 2018 19:22
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 mattc41190/153b4f97470ec96eeedf041e8919f885 to your computer and use it in GitHub Desktop.
Save mattc41190/153b4f97470ec96eeedf041e8919f885 to your computer and use it in GitHub Desktop.
1) getText should return the text of multiple elements:
Error: java.net.SocketException: Connection reset
at new RuntimeError (lib/utils/ErrorHandler.js:104:12)
at Request._callback (lib/utils/RequestHandler.js:253:35)
at Request.self.callback (node_modules/request/request.js:186:22)
at Request.<anonymous> (node_modules/request/request.js:1163:10)
at IncomingMessage.<anonymous> (node_modules/request/request.js:1085:12)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
2) isEnabled should check multiple elements are visible:
Error: java.net.SocketException: Connection reset
at new RuntimeError (lib/utils/ErrorHandler.js:104:12)
at Request._callback (lib/utils/RequestHandler.js:253:35)
at Request.self.callback (node_modules/request/request.js:186:22)
at Request.<anonymous> (node_modules/request/request.js:1163:10)
at IncomingMessage.<anonymous> (node_modules/request/request.js:1085:12)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
3) scroll should scroll to specific x and y position:
AssertionError: expected 100 to equal 0
+ expected - actual
-100
+0
at Context._callee2$ (test/spec/desktop/scroll.js:22:37)
at tryCatch (node_modules/regenerator-runtime/runtime.js:62:40)
at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:296:22)
at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:114:21)
at step (node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment