fix navigation when there are several cards
This commit is contained in:
parent
df1652f25f
commit
617aa216ab
1 changed files with 3 additions and 3 deletions
|
|
@ -104,10 +104,10 @@ class Barclays(BaseBrowser):
|
||||||
return self.page.get_history()
|
return self.page.get_history()
|
||||||
|
|
||||||
def get_coming_operations(self, account):
|
def get_coming_operations(self, account):
|
||||||
if not self.is_on_page(AccountsPage):
|
|
||||||
self.location('tbord.do')
|
|
||||||
|
|
||||||
for card in account._card_links:
|
for card in account._card_links:
|
||||||
|
if not self.is_on_page(AccountsPage):
|
||||||
|
self.location('tbord.do')
|
||||||
|
|
||||||
self.location(card)
|
self.location(card)
|
||||||
|
|
||||||
assert self.is_on_page(CardPage)
|
assert self.is_on_page(CardPage)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue