OzFramework / oz

Oz is a behavioral web-ui testing framework developed to reduce test maintenance by using a predictive model rather than a scriptive model when writing tests.
Apache License 2.0
23 stars 7 forks source link

[Watir 6.15] Changes to present? functionality cause page revisits to be unable to locate the page #144

Closed PanoramicPanda closed 5 years ago

PanoramicPanda commented 5 years ago

Watir made some changes in 6.14 to how stale/present works, and the updates I've worked out are breaking revisits of pages. I'm making this issue to get some assistance on this and bring the problem to light.

Article on Staleness -http://watir.com/staleness-changes/

Created a branch to show the issue: https://github.com/OzFramework/oz/tree/watir-6.15-present-changes

Scenario: Navigate Back to a Previous Page

PanoramicPanda commented 5 years ago

Appears to be a design oversight in Watir. @Castone22 and I have been discussing.

Castone22 commented 5 years ago

https://github.com/watir/watir/issues/830

Managed to isolate the bug.

Castone22 commented 5 years ago

Looks like this has been solved now as of watir 6.16.

Castone22 commented 5 years ago

Going to close this since I applied a monkeypatch that fixes it for now.