Releases: gemini-testing/gemini
0.8.0
- New image comparison algorithm is implemented:
gm compare
replaced with custom diff. For now, GraphicsMagick
is still required for other image manipulations.tolerance
setting is removed in favor of "strict mode": by default,
only noticable changes (according to ciede2000 metric) will be treated
as failure, to treat all changes that way user can enable
strictComparison
option.- in case if some element in focus during test can potentially have
blinking caret displayed, diff will try to ignore caret.
- Remove built-in TeamCity reporter. If you really want
it, you can adapt 0.7.x reporter to the current version
ofgemini
and publish it in separate package. - Remove legacy ability to specify browsers as array which
was deprecated since 0.4.0. - Add experimental programmatic API.
- Add
--grep
option togather
andtest
commands, which
allows to execute only suites, matching the pattern (@scf2k). - Show required dimensions in error message when origin does
not fir to full-page screenshot (@scf2k)
0.7.0
- Show meaningful error when capture area origin
does not fit to full-page screenshot. This change
can break some of your tests (@scf2k). - Add experimental CSS-coverage report. Enable
with--coverage
CLI flag orcoverage: true
in
config (@scf2k). - Add ability to override
gridUrl
,rootUrl
,screenshotsDir
,
debug
config options by their respective CLI options or
environment variables (@arikon). - Add config option
windowSize
to specify default
size of the browser windows (@scf2k). - Add action
setWindowSize
to specify browser
window size during the tests (@scf2k).
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
-
:before
and:after
pseudo-elements outline and shadow are now
taken into account when calculating capture region(@incorp).This change can break some of your tests. Re-gather reference images
to fix the problem. -
Added
tolerance
config option which can be used to specify maximum
error rate before images will be treated as unequal.
Default tolerance to 0. This is stricter then previous versions:
now every, even slightest difference between reference and current
images will fail tests.Set
tolerance
to 0.001 in.gemini.yml
to restore 0.5.x behavior. -
Coordinates of capture region are now rounded to capture maximal area.
Previously, border pixels could be cropped, due to rounding error.
This change can break some of your tests. Re-gather reference images
to fix the problem. -
Added ability to change diff highlight color in config file.
-
Change diff highlight style
-
Global installations of
gemini
now runs local one, if available.
0.5.0
- Browsers are now launched once for each run (previously, they were
launched once per suite). This greatly reduces total tests run time,
but can break some of your code, i.e. eachmouseDown
should always
be closed bymouseUp
.
Previously, this was not required ifmouseDown
was used once for
suite.
It will show warning if versions of the modules does not match. flat
reporter replacestree
. Tree reporter can not work with new
browser launch model.- Add
parallelLimit
option that allows to limit number of browsers
run in parallel. - Add
suite.after()
which can be used to perform some action after all
of the states without taking screenshot. - Unknown errors, returned by Selenium have more detailed report.
- Fix
--version
option.