Open aleksey-pro opened 7 years ago
Could you repost you error message or screenshot directly into here? With drag & drop you can add it directly into this textbox
NO problem :)
There's also genConfig File
{
"id": "prod_test",
"viewports": [
{
"name": "phone",
"width": 320,
"height": 480
},
{
"name": "tablet_v",
"width": 768,
"height": 1024
},
{
"name": "tablet_h",
"width": 1024,
"height": 768
}
],
"scenarios": [
{
"label": "subtitle",
"url": "http://localhost:3000/",
"hideSelectors": [],
"removeSelectors": [],
"selectorExpansion": true,
"selectors": [
".subtitle"
],
"readyEvent": null,
"delay": 500,
"misMatchThreshold" : 0.1,
"requireSameDimensions" : true,
"onBeforeScript": "onBefore.js",
"onReadyScript": "onReady.js"
}
],
"paths": {
"bitmaps_reference": "backstop_data/bitmaps_reference",
"bitmaps_test": "backstop_data/bitmaps_test",
"casper_scripts": "backstop_data/casper_scripts",
"html_report": "backstop_data/html_report",
"ci_report": "backstop_data/ci_report"
},
"casperFlags": [],
"engine": "slimerjs",
"report": ["CLI", "browser"],
"debug": false,
}
OK, so it says it doesn't find slimerjs. Can you verify that the command works flawlessly outside of backstop on the normal command line? Also you can set the last property debug
in your backstop config to true, to see more details. Furthermore I suggest using the "Ubuntu in Windows" - Commandline / Shell as it works much smoother with scripts - but you'll have to reinstall node and stuff there again.
I reinstalled Node to newest 6.10.3 version. Property debug
is set to true.
Unfortumately I use Windows7 - it doesn't supports Ubuntu shell. Alternatively I use cmder command line emulator - the screenshot has been made from this program.
So the error stays the same... and debug
option doesn't shows anything new...
I didn't unerstand what you mean telling me
Can you verify that the command works flawlessly outside of backstop
which command?
I feel that advice would be to use UbuntuOS...
I meant to try to run slimerjs
command right from your console. Maybe there is a path variable missing and your system does not recognize the command. So as soon as CasperJS runs slimerjs
command, it fails.
I found out that my Firefox was 53th. I reinstalled and downgraded to 50th version.
This is Hello world
code, it has some errors with driver but anyway it works.
Inspite slimerjs can work - it didn't help to solve launching by CasperJS. It asks me if I installed slimerjs.
Can't solve this error. http://joxi.ru/E2p3kDyT5KwbmY
I reinstalled slimerjs several times with --save-dev and -g flags. It didn't help. I found in CasperJS issues this kind of decision (https://github.com/casperjs/casperjs/issues/861)
Trying to rename phantomjs to slimerjs and adding to node_modules\casperjs\bin\casperjs.js... no effect.