Commit 4efb74c8 authored by Célande Adrien's avatar Célande Adrien Committed by Romain Bignon

[ing] LoginPage trying to use load_spage_page method

You just need to be sure to be logged in before calling for users spaces.

Closes: 16610@sibi
Closes: 16392@sibi
Closes: 15433@sibi
Closes: 17109@sibi
Closes: 17312@sibi
Closes: 16646@sibi
Closes: 16609@sibi
Closes: 17942@sibi
parent 2c9afc52
......@@ -134,6 +134,7 @@ class IngBrowser(LoginBrowser):
raise BrowserIncorrectPassword('Please login on website to fill the form and retry')
self.page.check_for_action_needed()
@need_login
def set_multispace(self):
self.accountspage.go()
self.where = "start"
......@@ -147,6 +148,7 @@ class IngBrowser(LoginBrowser):
self.current_space = space
break
@need_login
def change_space(self, space):
if self.multispace and not self.is_same_space(space, self.current_space):
self.accountspage.go()
......
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