Name: BlueHarvest Version: 6.2.2 Mac Platform: Intel Includes: KG OS version: 10.8 or higher 64 bit Whats new: Blacklist items can now be deleted from HFS disks Courtesy of C.O.R.E BlueHarvest is an exterminator for your Mac’s unnecessary Desktop Service Store (DSStore) and resource fork (AppleDouble) files. Whether you manage a version control system or just want to maximize your available memory, DSStore and AppleDouble files are a nuisance. Get BlueHarvest, and give those superfluous files the boot. More info: http://www.zeroonetwenty.com/blueharvest/.
![]()
BlueHarvest is an exterminator for your Mac’s unnecessary Desktop Service Store (DSStore) and resource fork (AppleDouble) files. Whether you manage a version control system or just want to maximize your available memory, DSStore and AppleDouble files are a nuisance. Get BlueHarvest, and give those superfluous files the boot. A clean Mac is a happy Mac Keep.
Install
You can npm to install the package:
npm install blue-harvest --save-dev ,or if you are using Yarn,yarn add blue-harvest -D
Writing Tests![]() Configurations
In order for you to use
async await in the tests, the following line
should be added to the
protractor.conf.js file.
To regulate the resolution of the screenshots, add
in
protractor.conf.js , inside the config block.
Comparing Screenshots
To test if a page has changed from a previous screenshot:
The difference between the two screenshots will be highlighted in pink.
Updating Reference Screenshots
When a change in a page is expected and not a regression, you can update the reference screenshots bysetting
UPDATE_GOLDENS=1 when you run the tests. In this case, if any test fails,blue-harvest will update the reference image with the new one. Only tests involving thereference screenshots (goldens) are required. You can edit the specs in protractor.conf.js so only necessary tests are run in an update.
In a Linux system, you can simply run
UPDATE_GOLDENS=1 npm run e2e to update the reference screenshots.In a windows environment where the command cannot be directly run, you can put it in a shell file andadd a npm script that runs bash ./filename.sh to update the reference screenshots.
Adding Masks
If there is a part on a page that should be ignored in the screenshot tests,you can add a coloured mask to a certain element before you take the screenshot so it will not be compared each time the tests run.
addMask() returns the mask element, which can be passed to removeMask() to be removed.
The default z-index for the mask element is 10000. An optional zIndex argument can be passed to addMask() if you would like to increase the value of a mask's z-index. If the mask appears to be off the desired place,you can pass optional xOffset , yOffset and sizeMultiplier arguments to addMask() to move/shape the mask manually.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |