Skip to content

Instantly share code, notes, and snippets.

@aslushnikov
Created August 14, 2020 06:05
Show Gist options
  • Save aslushnikov/9879ae6224a788d2212555aa0c20a0c7 to your computer and use it in GitHub Desktop.
Save aslushnikov/9879ae6224a788d2212555aa0c20a0c7 to your computer and use it in GitHub Desktop.
aslushnikov:~/prog/playwright(master)$ FFPATH=$FF xvfb-run --auto-servernum npm run ftest
> playwright-internal@1.3.0-post ftest /home/aslushnikov/prog/playwright
> cross-env BROWSER=firefox node test/runner test/
(node:5569) UnhandledPromiseRejectionWarning: /home/aslushnikov/prog/playwright/test/.browsercontext-cookies.spec.ts.swp:1
b0VIM 8.0
^^^
SyntaxError: Unexpected number
at wrapSafe (internal/modules/cjs/loader.js:1055:16)
at Module._compile (internal/modules/cjs/loader.js:1103:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1159:10)
at Module.load (internal/modules/cjs/loader.js:988:32)
at Function.Module._load (internal/modules/cjs/loader.js:896:14)
at Module.require (internal/modules/cjs/loader.js:1028:19)
at require (internal/modules/cjs/helpers.js:72:18)
at /home/aslushnikov/prog/playwright/node_modules/mocha/lib/mocha.js:390:36
at Array.forEach (<anonymous>)
at Mocha.loadFiles (/home/aslushnikov/prog/playwright/node_modules/mocha/lib/mocha.js:387:14)
at Mocha.run (/home/aslushnikov/prog/playwright/node_modules/mocha/lib/mocha.js:961:10)
at /home/aslushnikov/prog/playwright/test/runner/index.js:56:24
at new Promise (<anonymous>)
at Command.<anonymous> (/home/aslushnikov/prog/playwright/test/runner/index.js:55:13)
at Command.listener [as _actionHandler] (/home/aslushnikov/prog/playwright/node_modules/commander/index.js:422:31)
(node:5569) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:5569) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment