New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1LP][RFR] Firefox 60+ fix #112
Conversation
src/widgetastic/browser.py
Outdated
@@ -811,14 +816,12 @@ def __eq__(self, other): | |||
return self._o == other._o and self._browser == other._browser | |||
|
|||
def elements( | |||
self, locator, parent=None, check_visibility=False, check_safe=True, | |||
force_check_safe=False): | |||
self, locator, parent=None, check_visibility=False, check_safe=True): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not seeing any direct use of this kwarg in wt.patternfly or integration_tests so I think its clean to remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked this before removal.
I caught two more issues to sort out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it
all these changes passed local testing against most troublesome tests like ansible automation and etc using FF61.0.2 + geckodriver 0.20.1 + selenium 3.12. |
Two travis test failures, please investigate |
those two tests expect to get reply too quickly. retry option adds some delay |
67cb610
to
bfa8ce5
Compare
e35c7e7
to
f4ca9a1
Compare
9d55628
to
1d09b62
Compare
src/widgetastic/utils.py
Outdated
from cached_property import cached_property | ||
from functools import wraps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REQUIRED use six.wraps to get the correct metadata setup on python2
src/widgetastic/browser.py
Outdated
def elements( | ||
self, locator, parent=None, check_visibility=False, check_safe=True, | ||
force_check_safe=False): | ||
self, locator, parent=None, check_visibility=False, check_safe=True): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REQUIRED: restore option and add deprecation warning
We have two nav issues in Firefox 60+ and CloudForms 5.10.
As a result, it tries to access element when page isn't ready yet.
I'm going to remove that check. The other way is to add force_check_safe in all places where it is necessary.
this Pr intends to fix both issues.