ok directly raise the error

This commit is contained in:
Romain Bignon 2013-01-19 19:39:49 +01:00
commit 1c4416b4cf

View file

@ -138,5 +138,5 @@ class LoginPage2(BasePage):
self.browser.submit(nologin=True)
class StopPage(BasePage):
def error(self):
return True
def on_loaded(self):
raise BrowserIncorrectPassword('Please login on website to fill the form and retry')