Gemini is a utility for regression testing the visual appearance of web pages.
Gemini allows you to:
- Work with different browsers
- Test separate sections of a web page
- Include the box-shadow and outline properties when calculating element position and size
- Ignore some special case differences between images (rendering artifacts, text caret, etc.)
- Gather CSS test coverage statistics
Gemini was created at Yandex and is especially useful to UI library developers.
$ npm install -g gemini
$ npm install -g selenium-standalone
$ selenium-standalone install
Start selenium-standalone in a separate tab before running the tests:
$ selenium-standalone start
Run gemini tests:
gemini test
or run command from package.json
$ npm run test