gemini
gemini copied to clipboard
hover state always affect the result
sometimes the same test code get diff result picture because of the hover stateοΌ so the expected png and the actual png will be different when run times; just like:
sometimes it passed,sometimes it failed;
i have done some time waiting;
@sipayRT can you have a look?
I have the same problem. The code that I didn't change for a month, stopped working in the way that tests are failing because of the hover state.
It seems like the hover state happens only by update
task.
btw, quick hack fix for us was:
.setUrl('/hi/no-images')
.before(function (actions) {
actions.focus('body');
})
.capture('plain');
has anyone looked into this at all? Quite an issue for us ;(
Correct me if I'm wrong, but the problem is in the dependency of gemini. Can some core-team comment on this and mark as won't-fix if needed?
@HeeL uhrm.. if the problem with the dependency basically breaks gemini core functionality I don't think that setting this problem to wont-fix
would be appropriate
Yes, actually the version of this package could be downgraded till the problem will be solved in newer versions.
Hello guys. I apologize that we took so long to answer. This problem is still reproduced? Can you show me your gemini config and specify please the used gemini version?
In our projects I haven't met such a problem...
@DudaGod I guess one of the reason why you don't hit this problem is because you are not using image composition for creating visual tests for long scrollable pages. By doing selective captures, you don't experience this problem.
Any progress on this? Just found the same and weird thing it's not consistent for some reason.
I remember reading in the docs that before suite Gemini will reset mouse position to avoid any side affects, but for doing capture it will point mouse into captured element center.