Speed up lms login

This commit is contained in:
Jay Zoldak
2013-09-18 15:51:31 -04:00
parent 9e368b8d9a
commit be51ee2c46

View File

@@ -153,8 +153,8 @@ def i_am_logged_in(step):
world.create_user('robot', 'test')
world.log_in(username='robot', password='test')
world.browser.visit(django_url('/'))
# You should not see the login link
assert world.is_css_not_present('a#login')
dash_css = 'section.container.dashboard'
assert world.is_css_present(dash_css)
@step(u'I am an edX user$')