Commit ceab189f authored by Martin Lavoie's avatar Martin Lavoie Committed by Vincent A

[americanexpress] Add a missing page on a selenium browser

The selenium crash when trying to create a response for a url
without a page class. It didn't seem a problem at first.
It could be related to the network of the computer or some
other configuration (python 2?).
parent 58e77d90
......@@ -42,7 +42,7 @@
JsonBalances2, CurrencyPage, LoginPage, NoCardPage,
NotFoundPage, HomeLoginPage,
ReadAuthChallengePage, UpdateAuthTokenPage,
SHomePage, SLoginPage,
from .fingerprint import FingerprintPage
......@@ -487,7 +487,7 @@ def iter_coming(self, account):
class AmericanExpressSeleniumFingerprintBrowser(SeleniumBrowser):
home_login = URL(r'/login\?inav=fr_utility_logout')
home_login = URL(r'/login\?inav=fr_utility_logout', SHomePage)
login = URL(r'', SLoginPage)
HEADLESS = True # Always change to True for prod
......@@ -237,5 +237,9 @@ def obj_original_amount(self):
obj__ref = Dict('identifier')
class SHomePage(SeleniumPage):
class SLoginPage(SeleniumPage):
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