theintern / visual-plugin

Visual Regression Testing for Intern
Mozilla Public License 2.0
29 stars 7 forks source link

Assistance VisualRegression configuration #13

Closed greaveselliott closed 6 years ago

greaveselliott commented 6 years ago

Hi,

I'm having some trouble configuring the VisualRegression reporter. Following the documentation, I have installed this package then have included the following in my Intern configuration file.

... reporters: [ 'runner', 'intern-visual/reporters/VisualRegression' ], ...

When running the tests I receive the following error.

Error: Failed to load module visual/reporters/VisualRegression from /xxx/xxx/xxx/intern-test/node_modules/intern-visual/reporters/VisualRegression.js (parent: *26) at ReadFileContext.callback <node_modules/dojo/loader.ts:831:119> at FSReqWrap.readFileAfterOpen [as oncomplete] <fs.js:406:13>

greaveselliott commented 6 years ago

I've solved my configuring issue by referencing @rozaev repo https://github.com/rozaev/intern-visual-demo/tree/how-to-make-screenshot-for-entire-page.

Thanks, @rozaev!

vrozaev commented 6 years ago

@greaveselliott you should know that it project is not production-ready code at all and seems that Intern team are not going to support it right now.

If you need some visual regression tool, use gemini (https://github.com/gemini-testing/gemini) or something else.

jason0x43 commented 6 years ago

Sorry for not responding to this sooner; we missed the issue notification. In any case, this project definitely needs some love (it still hasn't been updated to properly support Intern 4, for one), we just haven't had much time to spend on it lately. It's definitely on the road map, though.

greaveselliott commented 6 years ago

Thanks for your comments @vrozaev and @jason0x43. I'll look into Gemini for the time being, quite keen to see how this tool develops.