Closed NiGhTTraX closed 10 years ago
As a developer I want my tests to be independent So that I have a reliable test suite.
The viewport is reset between flows.
Reset the viewport at the beginning of a flow. Maybe here.
@jamescryer what do you think of the solution? I can spin up a PR in a jiffy.
Good suggestion. I think the viewport should be reset here, at the beginning of each unique path
https://github.com/Huddle/PhantomFlow/blob/ae867a7e8671128e0b92b5520336f1f1ee6a1864/lib/phantomFlow.js#L238
A PR would be great!
Need
Deliverables
The viewport is reset between flows.
Solution
Reset the viewport at the beginning of a flow. Maybe here.
Prerequisites