Skip to content

Commit

Permalink
Check facebook Allow app screen on test
Browse files Browse the repository at this point in the history
  • Loading branch information
omab committed May 25, 2011
1 parent 563ff9f commit 59fc139
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrib/tests/test_core.py
Expand Up @@ -121,6 +121,11 @@ def test_facebook_backend(self):
password_field.send_keys(TEST_FACEBOOK_PASSWORD)
password_field.submit()

try:
self.driver.find_element_by_name('grant_clicked').click()
except:
pass

# We check the user logged in
heading = self.driver.find_element_by_id('heading')
if not heading.text == u'Logged in!':
Expand Down

0 comments on commit 59fc139

Please sign in to comment.