Changeset 512 for enpraxis.educommons/trunk/enpraxis/educommons/tests/seleniumtests/accountsLogin.py
- Timestamp:
- 08/03/09 17:41:16 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
enpraxis.educommons/trunk/enpraxis/educommons/tests/seleniumtests/accountsLogin.py
r506 r512 1 # -*- coding: iso-8859-15 -*- 1 2 ################################################################################## 2 3 # Copyright (c) 2009 Massachusetts Institute of Technology, All rights reserved. … … 50 51 def test_qa_account(self): 51 52 sel = self.selenium 52 sel.login("q a","qa")53 sel.login("quality","quality") 53 54 self.failUnless(sel.is_element_present('//a[@id="user-name"]/span[text()="qa"]')) 54 self.assertEqual("q a(QA)",sel.get_text('//li[a[@id="user-name"]]'))55 self.assertEqual("quality (QA)",sel.get_text('//li[a[@id="user-name"]]')) 55 56 56 57 def test_publisher_account(self):
