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 tests for popup #964

Merged
merged 8 commits into from Oct 13, 2016
Merged

Add tests for popup #964

merged 8 commits into from Oct 13, 2016

Conversation

rcutmore
Copy link
Contributor

This addresses #878 but it has some shortcomings. From what I can tell it's not possible to open the popup normally with Selenium because Selenium can only interact with a webpage and not the other browser elements.

This PR works around that by opening the popup page directly and testing some of its functionality. Unfortunately this means the most critical part of the popup, the tracker list, isn't being tested. Maybe there's a way around that?

Before this can be merged, either I need to rebase after PR 959 is merged or I need to remove the check for opening the tracker link in a new window.

@cooperq
Copy link
Contributor

cooperq commented Oct 13, 2016

Looks like github / travis was able to handle the rebase for you. Once I merged that PR and reran the tests they pass. This looks good to me modulo the issues you mentioned so I'm gonna go ahead and merge. Thanks for the commit!

@cooperq cooperq merged commit 6665d45 into EFForg:master Oct 13, 2016
@rcutmore rcutmore deleted the popup-tests branch October 14, 2016 00:10
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.

None yet

2 participants