-
Notifications
You must be signed in to change notification settings - Fork 12
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 #7
Comments
I briefly had this installed but noticed that it has issues with bleepingcomputer.com where if you search for anything on the site then bleepingcomputer.com is added to your search engines. |
@snowbound Thanks for reporting! The branch from #6, or the current Chrome Web Store version (0.0.1)? The #6 version works for me on bleepingcomputer. |
I downloaded it via https://github.com/gregsadetsky/chrome-dont-add-custom-search-engines and loaded it via UnPacked extension in Chrome via Developer Mode. I went to Bleeping Computer, entered garbage in their search box. Went into Chrome's Search Engine list and bleepingconputer.com was in the list. |
@snowbound OK - that's the old version, which is known to fail. Thanks for confirming! The pull-6 version (zip) should work if you unload the version you have, and then load the pull-6 version unpacked. For the record, thanks to @gregsadetsky for finding this article showing that Selenium can access |
@gregsadetsky Any objection to a |
@cxw42 great idea, go for it! thank you! |
@gregsadetsky I added the |
sorry, what do you mean by turn it on? I see that "Your GitHub Pages site is currently being built from the gh-pages branch" but I'm not sure which URL this repo would appear on it's a bit of a mess, as my gregsadetsky.github.io points to another repo right now thoughts? |
OK - how about this different approach? A test extension so that pressing a button will perform searches on all the known problematic sites. After you press that button, you can visit Implementation outline:
|
I am updating the wiki page to list full Query URL rather than just site. That way we will have a database on which to run automated tests. |
Per discussion with @gregsadetsky. It would be nice to have some!
It's tricky, though, since we can't access (or even navigate to!) the pertinent settings page (link here - go there and try clicking! see what happens).
We can, however, loop over a list of testcases (e.g.,
document.querySelector('.wiki-content table')
in the wiki page) and, for each:I have used Jasmine, which I believe would not have a problem with this type of test. It has asynchronous support, so we could bounce messages through the background between a Jasmine popup and the windows it creates.
Better ideas welcome!
The text was updated successfully, but these errors were encountered: