Commit 82a15a2b authored by Christophe Francois's avatar Christophe Francois Committed by Vincent A

[boursedirect] Handle new url after login

After login, we are now on the "inventory" page, which was not handled.
There is nothing to do on the page, the rest of the browsing looks
unchanged.
parent 1eb8659e
......@@ -30,6 +30,7 @@ from .pages import (
LoginPage, PasswordRenewalPage, AccountsPage, HistoryPage,
InvestPage, MarketOrdersPage, MarketOrderDetailsPage,
LifeInsurancePage, IsinPage, PortfolioPage, JsRedirectPage,
HomePage,
)
......@@ -38,6 +39,7 @@ class BoursedirectBrowser(LoginBrowser):
login = URL(r'/fr/login', LoginPage)
password_renewal = URL(r'/fr/changer-mon-mot-de-passe', PasswordRenewalPage)
home = URL(r'/fr/page/inventaire', HomePage)
accounts = URL(
r'/priv/compte.php$',
r'/priv/compte.php\?nc=(?P<nc>\d+)',
......
......@@ -86,6 +86,10 @@ class BasePage(HTMLPage):
)
class HomePage(BasePage):
pass
class AccountsPage(BasePage):
@method
class iter_accounts(ListElement):
......
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