Fix or skip lettuce tests to run under phantomjs and firefox

This commit is contained in:
Jay Zoldak
2013-04-17 13:27:33 -04:00
parent 8a2d08bbd6
commit 8a852f90cb
4 changed files with 14 additions and 13 deletions

View File

@@ -132,6 +132,8 @@ def i_am_logged_in(step):
world.create_user('robot')
world.log_in('robot', 'test')
world.browser.visit(django_url('/'))
# You should not see the login link
assert_equals(world.browser.find_by_css('a#login'), [])
@step(u'I am an edX user$')