def test_378(self):
        """Site login using site account.

        http://litmus.pculture.org/show_test.cgi?id=378.      
        """
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login
        website.SiteLogIn(self, sel, testvars.siteuser, testvars.passw)
        # verify
        website.verify_login(self, sel, testvars.siteuser)
        # logout
        sel.open("logout/")
    def test_378(self):
        """Site login using site account.

        http://litmus.pculture.org/show_test.cgi?id=378.      
        """
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login
        website.SiteLogIn(self,sel,testvars.siteuser,testvars.passw)
        # verify
        website.verify_login(self,sel,testvars.siteuser)
        # logout
        sel.open("logout/")
 def test_384(self):
     """Login from widget using site account.
     
     http://litmus.pculture.org/show_test.cgi?id=384
     """
     sel = self.selenium
     sel.set_timeout(testvars.MSTestVariables["TimeOut"])
     #login
     website.SiteLogIn(self,sel,testvars.siteuser, testvars.passw)
     # verify
     website.verify_login(self,sel,testvars.siteuser)
     # logout
     website.SiteLogout(self,sel)
     return self.session
 def test_384(self):
     """Login from widget using site account.
     
     http://litmus.pculture.org/show_test.cgi?id=384
     """
     sel = self.selenium
     sel.set_timeout(testvars.MSTestVariables["TimeOut"])
     #login
     website.SiteLogIn(self, sel, testvars.siteuser, testvars.passw)
     # verify
     website.verify_login(self, sel, testvars.siteuser)
     # logout
     website.SiteLogout(self, sel)
     return self.session
    def test_381(self):
        """Site login using gmail account.

        http://litmus.pculture.org/show_test.cgi?id=381
        """
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login
        website.SiteLogout(self,sel)
        website.Login(self,sel,"google")
        offsite.GmailAuth(self,sel,testvars.gmailuser,testvars.passw)
        # verify
        website.verify_login(self,sel,testvars.gmailuser)
        # logout
        website.SiteLogout(self,sel)
    def test_379(self):
        """Site login using twitter account.

        http://litmus.pculture.org/show_test.cgi?id=379
        """
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login
        website.SiteLogout(self,sel)
        website.Login(self,sel,"twitter")
        offsite.TwitterAuth(self,sel,testvars.twitteruser, testvars.passw)
        # verify
        website.verify_login(self,sel,username="******")
        # logout
        website.SiteLogout(self,sel)
    def test_381(self):
        """Site login using gmail account.

        http://litmus.pculture.org/show_test.cgi?id=381
        """
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login
        website.SiteLogout(self, sel)
        website.Login(self, sel, "google")
        offsite.GmailAuth(self, sel, testvars.gmailuser, testvars.passw)
        # verify
        website.verify_login(self, sel, testvars.gmailuser)
        # logout
        website.SiteLogout(self, sel)
    def test_379(self):
        """Site login using twitter account.

        http://litmus.pculture.org/show_test.cgi?id=379
        """
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login
        website.SiteLogout(self, sel)
        website.Login(self, sel, "twitter")
        offsite.TwitterAuth(self, sel, testvars.twitteruser, testvars.passw)
        # verify
        website.verify_login(self, sel, username="******")
        # logout
        website.SiteLogout(self, sel)
    def test_380(self):
        """Site login from open id account.
        
        http://litmus.pculture.org/show_test.cgi?id=380
        """
#        print "this test will likely fail until bug #13688 (http://bugzilla.pculture.org/show_bug.cgi?id=13688) gets fixed"
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login        
        website.SiteLogout(self,sel)
        website.Login(self,sel,"open-id")
        offsite.OpenIdAuth(self,sel,testvars.openiduser,testvars.passw)
        # verify
        website.verify_login(self,sel,username="******") 
        # logout
        website.SiteLogout(self,sel)
 def test_380(self):
     """Site login from open id account.
     
     http://litmus.pculture.org/show_test.cgi?id=380
     """
     #        print "this test will likely fail until bug #13688 (http://bugzilla.pculture.org/show_bug.cgi?id=13688) gets fixed"
     sel = self.selenium
     sel.set_timeout(testvars.MSTestVariables["TimeOut"])
     #login
     website.SiteLogout(self, sel)
     website.Login(self, sel, "open-id")
     offsite.OpenIdAuth(self, sel, testvars.openiduser, testvars.passw)
     # verify
     website.verify_login(self, sel, username="******")
     # logout
     website.SiteLogout(self, sel)
Beispiel #11
0
    def test_382(self):
        """Login from widget using gmail account.

        http://litmus.pculture.org/show_test.cgi?id=382
        """
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login
        website.SiteLogout(self,sel)
        website.start_demo(self,sel)
        widget.Login(self,sel,"google")
        offsite.GmailAuth(self,sel,testvars.gmailuser,testvars.passw)
        # verify
        widget.wait_for_offsite_login(self,sel)
        widget.close_widget(self,sel)
        website.verify_login(self,sel,testvars.gmailuser)
        # logout
        website.SiteLogout(self,sel)
    def test_382(self):
        """Login from widget using gmail account.

        http://litmus.pculture.org/show_test.cgi?id=382
        """
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login
        website.SiteLogout(self, sel)
        website.start_demo(self, sel)
        widget.Login(self, sel, "google")
        offsite.GmailAuth(self, sel, testvars.gmailuser, testvars.passw)
        # verify
        widget.wait_for_offsite_login(self, sel)
        widget.close_widget(self, sel)
        website.verify_login(self, sel, testvars.gmailuser)
        # logout
        website.SiteLogout(self, sel)
Beispiel #13
0
 def test_385(self):
     """Login from widget using openid account.
     
     http://litmus.pculture.org/show_test.cgi?id=385
     """
     print "this test will likely fail until bug #13688 (http://bugzilla.pculture.org/show_bug.cgi?id=13688) gets fixed"
     sel = self.selenium
     sel.set_timeout(testvars.MSTestVariables["TimeOut"])
     #login
     website.SiteLogout(self,sel)
     website.start_demo(self,sel)
     widget.Login(self,sel,"openid")
     offsite.OpenIdAuth(self,sel,testvars.openiduser,testvars.passw)
     # verify
     widget.wait_for_offsite_login(self,sel)
     widget.close_widget(self,sel)
     website.verify_login(self,sel,testvars.openid_username)
     # logout
     website.SiteLogout(self,sel)
Beispiel #14
0
    def test_383(self):
        """Login from widget using twitter account

        http://litmus.pculture.org/show_test.cgi?id=383
        """
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login
        website.SiteLogout(self,sel)
        
        website.start_demo(self,sel)
        widget.Login(self,sel,"twitter")
        offsite.TwitterAuth(self,sel,testvars.twitteruser,testvars.passw)
        # verify
        widget.wait_for_offsite_login(self,sel)
        widget.close_widget(self,sel)
        website.verify_login(self,sel,username="******")
        # logout
        website.SiteLogout(self,sel)
 def test_385(self):
     """Login from widget using openid account.
     
     http://litmus.pculture.org/show_test.cgi?id=385
     """
     print "this test will likely fail until bug #13688 (http://bugzilla.pculture.org/show_bug.cgi?id=13688) gets fixed"
     sel = self.selenium
     sel.set_timeout(testvars.MSTestVariables["TimeOut"])
     #login
     website.SiteLogout(self, sel)
     website.start_demo(self, sel)
     widget.Login(self, sel, "openid")
     offsite.OpenIdAuth(self, sel, testvars.openiduser, testvars.passw)
     # verify
     widget.wait_for_offsite_login(self, sel)
     widget.close_widget(self, sel)
     website.verify_login(self, sel, testvars.openid_username)
     # logout
     website.SiteLogout(self, sel)
    def test_383(self):
        """Login from widget using twitter account

        http://litmus.pculture.org/show_test.cgi?id=383
        """
        sel = self.selenium
        sel.set_timeout(testvars.MSTestVariables["TimeOut"])
        #login
        website.SiteLogout(self, sel)

        website.start_demo(self, sel)
        widget.Login(self, sel, "twitter")
        offsite.TwitterAuth(self, sel, testvars.twitteruser, testvars.passw)
        # verify
        widget.wait_for_offsite_login(self, sel)
        widget.close_widget(self, sel)
        website.verify_login(self, sel, username="******")
        # logout
        website.SiteLogout(self, sel)