Commit 185c7a00 authored by Damien Mat's avatar Damien Mat Committed by Vincent A

[creditmutuel] Fix is_here()

Was True even when it shouldn't and was mentionning proprietary module
parent 3215a426
......@@ -125,11 +125,10 @@ class FiscalityConfirmationPage(LoggedPage, HTMLPage):
# and might be empty of text while used in a redirection
class MobileConfirmationPage(PartialHTMLPage):
def is_here(self):
return {
return (
'Démarrez votre application mobile' in CleanText('//div[contains(@id, "inMobileAppMessage")]')(self.doc) or
# for Banque Transatlantique and BECM
'demande de confirmation mobile' in CleanText('//div[contains(@id, "inMobileAppMessage")]')(self.doc)
}
)
# We land on this page for some connections, but can still bypass this verification for now
def check_bypass(self):
......
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