Closed nathanbirrell closed 10 years ago
@igreulich could you please explain how you reached a solution?
I have been trying to recreate the original bug I had. So far, no luck.
Off the top of my head I think the problem I had was that I misread the docs. I was expecting huxley
to be the same as huxley --record
.
What dos your Huxleyfile
look like?
Basically just this, but repeated for a lot of pages:
[filename.html]
url=http://0.0.0.0:4567/filename.html
sleepfactor:0.3
And it only happens on a specific set of our pages which is odd. Does Huxley use any JavaScript that could potentially alter the look of the page? It seems to be changing the length of the window between playback and verification.
Okay, so we have solved the problem. It turns out it was an auto-generated lorem ipsum text from Middleman which was changing on every page load: lorem.paragraphs rand(10)+1
.
Thanks anyway @igreulich.
One particular error keeps getting returned when I record and run the Huxley tests, on particular pages only. This error has been found before and the solution was unclear (#27).
Here's an example of the error returned on such pages:
The page has no animation or anything on it that would cause the screenshot to be different.