-
UPDATE_RESULT- emitted always during update. The event is emitted with 1 argumentresult:result.imagePath- absolute path to the reference imageresult.updated- boolean value which istruewhen reference image have been changed andfalsewhen not
-
TEST_RESULT- emitted always after the test is completed. The event is emitted with 1 argumentresult:result.referencePath- absolute path to the reference imageresult.currentPath- absolute path to the current image on your diskresult.equal- boolean value which istruewhen images are equal andfalsewhen aren'tresult.saveDiffTo- function is responsible for building diff and present in theresultonly if images aren't equal
-
INTERRUPT- emitted on signal eventsSIGHUP,SIGINTorSIGTERM. The event is emitted with 1 argumentdata:data.exitCode- exit code with which gemini will be interrupted
-
START_BROWSER- emitted on browser session start. Emitted with browser instance. If handler returns a promise tests will be executed in this session only after the promise is resolved. -
STOP_BROWSER- emitted right before browser session end. Emitted with browser instance. If handler returns a promise quit will be performed only after the promise is resolved.
Repository navigation
AF55