Commit 7118faeb authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by ntome

[cragr/regions] Complete card labels

Some card labels were half empty because the xpath slightly changes.
parent 699be790
......@@ -477,8 +477,8 @@ class MultipleCardsPage(CardsPage):
# Card label is formatted as 'Carte VISA Premier - Mr M Lastname'
obj_label = Format(
'%s - %s',
CleanText('.//caption/span[@class="tdb-cartes-carte"]'),
CleanText('.//caption/span[@class="tdb-cartes-prop"]')
CleanText('.//caption/span[has-class("tdb-cartes-carte")]'),
CleanText('.//caption/span[has-class("tdb-cartes-prop")]')
)
obj_type = Account.TYPE_CARD
......
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