Commit 3a7c1be6 authored by ntome's avatar ntome Committed by Romain Bignon

[bp] handle virtualkeyboard image with RawPage to avoid warnings

Avoids warnings like "encoding error : input conversion failed due to
input error, [...]" because the URL was handled by LoginPage (HTMLPage).
parent 56e120bf
......@@ -54,6 +54,7 @@ class BPBrowser(LoginBrowser, StatesMixin):
# FIXME beware that '.*' in start of URL() won't match all domains but only under BASEURL
login_image = URL(r'.*wsost/OstBrokerWeb/loginform\?imgid=', UselessPage)
login_page = URL(r'.*wsost/OstBrokerWeb/loginform.*', LoginPage)
repositionner_chemin_courant = URL(r'.*authentification/repositionnerCheminCourant-identif.ea', repositionnerCheminCourant)
init_ident = URL(r'.*authentification/initialiser-identif.ea', Initident)
......
......@@ -455,7 +455,7 @@ class MarketLoginPage(LoggedPage, PartialHTMLPage):
self.get_form(id='autoSubmit').submit()
class UselessPage(LoggedPage, HTMLPage):
class UselessPage(LoggedPage, RawPage):
pass
......
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