Commit be7e0390 authored by Guillaume Risbourg's avatar Guillaume Risbourg Committed by Vincent A

[boursorama] Fix login url

When doing a request on the login url with a `/` at the end, we receive
a 301 and are redirected to the same url without a `/` at the end. And
because of the `/` that is expected in the url, we end up not finding
the page.
Removing the `/` at the end in the regex leads to no redirection and it
matches both cases.
parent 77c713b4
Pipeline #3359 passed with stages
in 15 minutes and 17 seconds
......@@ -79,7 +79,7 @@ class BoursoramaBrowser(RetryLoginBrowser, TwoFactorBrowser):
login = URL(r'/connexion/saisie-mot-de-passe/', PasswordPage)
login = URL(r'/connexion/saisie-mot-de-passe', PasswordPage)
accounts = URL(r'/dashboard/comptes\?_hinclude=300000', AccountsPage)
accounts_error = URL(r'/dashboard/comptes\?_hinclude=300000', AccountsErrorPage)
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