Skip to content
Commit dad4eb6d authored by Maxime Pommier's avatar Maxime Pommier Committed by hydrargyrum
Browse files

[caissedepargne] Improve the way that we get card's account.

Card cases is really tricky on the new website.
There are 2 kinds of page where we can find cards infomation
 - CardsPage: List some of the PSU cards
 - CardsComingPage: On the coming transaction page (for a specific checking account),
   we can find all cards related to this checking account. Information to reach this
   CC is in the home page

We have to go through this both kind of page for those reasons:
 - If there is no coming yet, the card will not be found in the home page and we will not
   be able to reach the CardsComingPage. But we can find it on CardsPage
 - Some cards are only on the CardsComingPage and not the CardsPage
 - In CardsPage, there are cards (with "Business" in the label) without checking account on the
   website (either history nor coming), so we skip them.
 - Some card on the CardsPage that have a checking account parent, but if we follow the link to
   reach it with CardsComingPage, we find an other card that not in CardsPage.

Closes: 41709@sibi
parent d4c01ae6
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