I have a project in which I use Selenium for Facebook authentication. I created a Facebook application, created a test user inside this application, and created several tests using Facebook login. So far it has worked. But over the past two weeks, something has changed on Facebook, and my tests fail. This is due to a change in the interface in the permissions dialog box (I click the button by its identifier). The second problem is that I do not get the email address from the Facebook verification user, but the proxy email address is longer than 75 characters (the length of my db field is hardcoded in the structure used).
If I log in as a regular user, it works correctly, and I get this permission window:

But when I log in as the test user I created (through the "switch to" roles of the application developer), I get this check box:

I tested it ~ 2 weeks ago and it still didn't work. Today he has changed. So my questions are:
- How to return old permissions for test users?
- How can I get a real email address, not a proxy?
Thank!
Bruce source
share