This repository was archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 148
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
"Cannot find files by mask gemini" #569
Copy link
Copy link
Closed
Description
Output of gemini --version: 4.7.2
Output of node -v: v6.4.0
Contents of .gemini.yml file:
rootUrl: http://localhost:8080
browsers:
phantomjs:
gridUrl: http://localhost:8910
desiredCapabilities:
browserName: phantomjsTest source code:
const phantom = require('phantomjs')
const viewports = [{w: 160, h: 144}, {w: 320, h: 240}, {w: 480, h: 320},
{w: 640, h: 480}]
gemini.suite('zzz-card', function(suite) {
suite
.setUrl('/test/screenshot/fixture/zzz-card.html')
.setCaptureElements('body')
.before(function(actions, find) {
actions.wait(1000)
})
viewports.forEach(function(viewport) {
suite
.capture('zzz-card-' + viewport.w + 'x' + viewport.h, function(actions, find) {
actions.setWindowSize(viewport.w, viewport.h)
})
})
})Command used to run the test:
Setup:
http-server -c-1&
phantomjs -w&Run tests from command line:
gemini test foo.jsRun tests from GUI:
gemini-gui foo.jsCommand line result:
Critical error:
Error: Cannot find files by mask gemini
at q.nfcall.then (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/glob-extra/lib/index.js:14:28)
at _fulfilled (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:796:13)
at /home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:604:44
at runSingle (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:137:13)
at flush (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
GUI result:
/home/stephen/.node/lib/node_modules
/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:155
throw e;
^
Error: Cannot find files by mask gemini
at q.nfcall.then (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/glob-extra/lib/index.js:14:28)
at _fulfilled (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:834:54)
at self.promiseDispatch.done (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:863:30)
at Promise.promise.promiseDispatch (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:796:13)
at /home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:604:44
at runSingle (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:137:13)
at flush (/home/stephen/dev/js/lizzzt/lizzztlib/node_modules/q/q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Expected behaviour:
This worked properly in v4.4.1 but doesn't in v4.7.2.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels