Skip to content
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

Add support for new notification selectors #243

Merged
merged 3 commits into from
Feb 11, 2019
Merged

Add support for new notification selectors #243

merged 3 commits into from
Feb 11, 2019

Conversation

willdurand
Copy link
Member

@willdurand willdurand commented Feb 11, 2019

The notifications have been refactored in FF (see: https://phabricator.services.mozilla.com/D17699) and there is no anonymous element anymore. Instead, we can use find_element directly and use a by.CLASS_NAME selector.

This PR updates the notification code to be compatible with Nightly 67.0a1 and above, while keeping backward compatibility for older versions.

This patch has been tested locally on https://github.com/mozilla/addons-frontend.

@coveralls
Copy link

coveralls commented Feb 11, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling d0f4780 on willdurand:fix-notifications into ce7168a on mozilla:master.

Copy link
Contributor

@b4handjr b4handjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks Will!

@b4handjr
Copy link
Contributor

Looks like there are some flake8 issues. Could you take a look at the travis build?

@willdurand
Copy link
Member Author

Looks like there are some flake8 issues. Could you take a look at the travis build?

yes, sorry. I just reinstalled my flake8 tox env locally.

@b4handjr b4handjr merged commit e8e20e8 into mozilla:master Feb 11, 2019
@willdurand willdurand deleted the fix-notifications branch February 11, 2019 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants