~iahmad/+junk/guest_only_account_test_suite

« back to all changes in this revision

Viewing changes to tests/test_rl.py

  • Committer: Iftikhar Ahmad
  • Date: 2013-04-19 18:22:11 UTC
  • Revision ID: iftikhar.ahmad@gmail.com-20130419182211-ivzh929oeov5tl5k
assertions

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
    def testGuestLogin(self):
55
55
        userPBGuestSession = self.proxy.select_single('UserPromptBox', label='Guest Session')
 
56
        self.assertTrue(userPBGuestSession is not None)
56
57
        (x, y) = userPBGuestSession.globalRect[0], userPBGuestSession.globalRect[1]
57
58
        self.mouse.move(x,y)
58
59
        time.sleep(2)
59
60
        self.mouse.click()
60
61
        guestLoginDashButton = self.proxy.select_single('DashButton', text='Log In')
 
62
        self.assertTrue(guestLoginDashButton is not None)
61
63
        self.mouse.move_to_object(guestLoginDashButton)
62
64
        time.sleep(2)
63
65
        self.mouse.click()