Commit 46f6e8b9 authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

[bp] Fixed link to check for deferred cards

Closes: 13418@zendesk
parent b09c9d50
......@@ -161,7 +161,7 @@ class item_account_generic(ItemElement):
return Account.TYPE_UNKNOWN
def obj__has_cards(self):
return Link('.//a[contains(., "Débit différé")]', default=None)(self)
return Link('.//a[contains(@href, "consultationCarte")]', default=None)(self)
class AccountList(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