fix navigation when passable unavailable page is displayed before login
This commit is contained in:
parent
301a1817a2
commit
9a1d638374
2 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ class BanquePopulaire(Browser):
|
|||
'https://[^/]+/cyber/internet/ContinueTask.do\?.*dialogActionPerformed=SOLDE.*': TransactionsPage,
|
||||
'https://[^/]+/cyber/internet/Page.do\?.*': TransactionsPage,
|
||||
'https://[^/]+/cyber/internet/Sort.do\?.*': TransactionsPage,
|
||||
'https://[^/]+/s3f-web/indispo.*': UnavailablePage,
|
||||
'https://[^/]+/s3f-web/.*': UnavailablePage,
|
||||
'https://[^/]+/portailinternet/_layouts/Ibp.Cyi.Layouts/RedirectSegment.aspx.*': RedirectPage,
|
||||
'https://[^/]+/portailinternet/Catalogue/Segments/.*.aspx(\?vary=(?P<vary>.*))?': HomePage,
|
||||
'https://[^/]+/portailinternet/Pages/.*.aspx\?vary=(?P<vary>.*)': HomePage,
|
||||
|
|
|
|||
|
|
@ -195,7 +195,7 @@ class UnavailablePage(BasePage):
|
|||
except IndexError:
|
||||
raise BrowserUnavailable()
|
||||
else:
|
||||
self.browser.location(a.attrib['href'])
|
||||
self.browser.location(a.attrib['href'], nologin=True)
|
||||
|
||||
|
||||
class LoginPage(BasePage):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue