Commit 1a0e419f authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

[lcl] Handle load_details for deferred card summary

Summary transactions do not have any details.
parent df22f3cc
......@@ -464,6 +464,11 @@ class AccountHistoryPage(LoggedPage, HTMLPage):
class item(Transaction.TransactionElement):
def load_details(self):
# Those are summary for deferred card transactions,
# they do not have details.
if CleanText('./td[contains(text(), "RELEVE CB")]')(self):
return None
row = Attr('.', 'id', default=None)(self)
assert row, 'HTML format of transactions details changed'
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