Commit 88f7c421 authored by Damien Mat's avatar Damien Mat Committed by Vincent A

[creditmutuel] Catch additional wrongpass error

parent 62102b46
......@@ -89,7 +89,7 @@ class LoginPage(PartialHTMLPage):
def on_load(self):
error_msg = CleanText('//div[contains(@class, "blocmsg err")] | //div[contains(@class, "blocmsg alerte")]')(self.doc)
wrong_pass_msg = ('mot de passe est faux', 'mot de passe est révoqué')
wrong_pass_msg = ('mot de passe est faux', 'mot de passe est révoqué', 'devez renseigner votre identifiant')
action_needed_msg = ('pas autorisé à accéder à ce service', 'bloqué')
website_unavailable_msg = ('service est temporairement interrompu', 'Problème technique')
if any(msg in error_msg for msg in wrong_pass_msg):
......
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