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

testing: add unittests for login #4

Open
aszs opened this issue Apr 28, 2014 · 0 comments
Open

testing: add unittests for login #4

aszs opened this issue Apr 28, 2014 · 0 comments
Milestone

Comments

@aszs
Copy link
Member

aszs commented Apr 28, 2014

starting with local login is probably fine. To handle Facebook login probably requires using something like Webdriver.

here's some posts with example selenium/webdriver scripts for handling facebook login:
http://tuventytuventy.wordpress.com/2012/09/23/facebook-connect-with-seleniumwebdriver-and-java/
http://blog.pamelafox.org/2012/01/testing-facebook-login-with-selenium.html
http://stackoverflow.com/questions/8845614/testing-a-facebook-connect-application-using-selenium

the main issue seems to be with facebook's login popup but perhaps it can be avoided, as suggested by this comment: "I set up OAuth so it doesn't open as a popup, and instead opens on the same page. "
http://stackoverflow.com/questions/13963682/logging-into-facebook-with-test-account-using-selenium?rq=1

@aszs aszs added this to the Now milestone Apr 28, 2014
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

No branches or pull requests

1 participant