Commit 065178bb authored by Florian Duguet's avatar Florian Duguet Committed by Romain Bignon

[materielnet] fix wrongpass detection by changing xpath

Closes: 36193@sibi 36668@sibi 36212@sibi
Closes: 9588@zendesk
parent 68f55f45
......@@ -50,7 +50,7 @@ class LoginPage(PartialHTMLPage):
form.submit()
def get_error(self):
return CleanText('//div[contains(@class, "error")]')(self.doc)
return CleanText('//span[contains(@class, "field-validation-error")]')(self.doc)
class CaptchaPage(HTMLPage):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment