Commit c19a0f02 authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

[bp] Handle new Certicode error message

parent de6e967a
......@@ -411,7 +411,7 @@ class OtpErrorPage(LoggedPage, PartialHTMLPage):
# Need PartialHTMLPage because sometimes we land on this page with
# a status_code 302, so the page is empty and the build_doc crash.
def get_error(self):
return CleanText('//form//span[@class="warning"]')(self.doc)
return CleanText('//form//span[@class="warning" or @class="app_erreur"]')(self.doc)
class RecipientSubmitDevicePage(LoggedPage, MyHTMLPage):
......
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