Closed wswebcreation closed 5 years ago
Hi @wswebcreation Nice work here!!
I was wondering if as part of this refactor you have plans to remove node-canvas-prebuilt dependency. That dependency is downloading some prebuilt canvas from github and that's stopping me to use it in my CI environment (where accessing to the internet is restricted for security reasons)
I've seen it's not part of your solution so far in the eat/rewrite-3 branch, but just double checking :)
Thank you!
Hi @miguelchico
Tnx for the feedback, yes, I've already removed the prebuild version and implemented the node-canvas (which now by default holds the prebuild)
Hi @wswebcreation Do you have a timeline for this refactor?
I'm so excited that I can't wait!
Hi @miguelchico
I've released a beta of protractor-image-comparion. This is a complete refactor and now supports the latest version of canvas
You can install it with npm install protractor-image-comparison@beta
And find more info here, the config has become much easier, so please check the docs
Version 3.0.1
is out, please try that one and read the release notes carefully.
This module is now hard to maintain with all the 🍝 -code, the refactor should optimise the code, make it more readable and better to maintain. This refactor will also remove some dependencies and starts using Canvas for 100%.
Todo:
Methods
saveScreen
for:saveElement
for:saveFullPageScreen
for:checkScreen
for:checkElement
for:checkFullPageScreen
for:Open issues:
All changes can be tracked in this eat/rewrite-3 branch