Skip to content

Instantly share code, notes, and snippets.

@dpgraham
Created September 4, 2019 20:45
Show Gist options
  • Save dpgraham/f53c0186f682610ffd90123607ff087f to your computer and use it in GitHub Desktop.
Save dpgraham/f53c0186f682610ffd90123607ff087f to your computer and use it in GitHub Desktop.
MacBook-Pro:appium-xcuitest-driver Daniel-Graham-SL1298$ npm run e2e-test
> appium-xcuitest-driver@2.128.2 e2e-test /Users/danielgraham/appium-xcuitest-driver
> gulp e2e-test
[13:44:01] Using gulpfile ~/appium-xcuitest-driver/gulpfile.js
[13:44:01] Starting 'e2e-test'...
[13:44:01] Starting 'transpile'...
[13:44:04] Finished 'transpile' after 2.28 s
[13:44:04] Starting 'e2e-test:run'...
0 -__,------,
1 -__| /\_/\
0 -_~|_( x .x)
-_ "" ""
0 passing (56s)
1 failing
1) XCUITestDriver - basics -
viewportScreenshot -
should get a cropped screenshot of the viewport without statusbar:
AssertionError: expected 2436 to deeply equal 1704
+ expected - actual
-2436
+1704
at Context.eql (test/functional/basic/basic-e2e-specs.js:192:29)
at process._tickCallback (internal/process/next_tick.js:68:7)
[13:45:01] Error in plugin "gulp-mocha"
[13:45:01] Message:
[13:45:01] There were test failures
[13:45:01] The following tasks did not complete: e2e-test, e2e-test:run
[13:45:01] Did you forget to signal async completion?
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! appium-xcuitest-driver@2.128.2 e2e-test: `gulp e2e-test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appium-xcuitest-driver@2.128.2 e2e-test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/danielgraham/.npm/_logs/2019-09-04T20_45_01_147Z-debug.log
MacBook-Pro:appium-xcuitest-driver Daniel-Graham-SL1298$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment