1
0
Fork 0

chase: Ensure transaction list is not empty

By default, the transaction list for the Chase credit card shows
transactions that have posted since the last statement.  This list can
sometimes be empty, particularly on the day the the statement is issued.
When this is the case, clicking the _Download Account Activity_ button
does not work; it simply displays a message stating "There's no account
activity showing to download."  Since we are going to adjust the date
range on the download form anyway, it doesn't matter what's showing,
we just need the button to work. Thus, we now set the page show all
transactions and then click the button.
master
Dustin 2024-03-11 13:26:48 -05:00
parent 31dcec331e
commit dd0edc599e
1 changed files with 3 additions and 0 deletions

View File

@ -613,6 +613,9 @@ class Chase:
'button', name='Account activity', exact=True 'button', name='Account activity', exact=True
).wait_for() ).wait_for()
fl.get_by_role('link', name='Show details').wait_for() fl.get_by_role('link', name='Show details').wait_for()
fl.get_by_role('link', name='Activity since last statement').click()
fl.get_by_role('link', name='All transactions').click()
fl.get_by_text('See more activity').wait_for()
fl.get_by_role('button', name='Download Account Activity').click() fl.get_by_role('button', name='Download Account Activity').click()
log.debug('Filling account activity download form') log.debug('Filling account activity download form')
self.page.locator('#select-downloadActivityOptionId-label').click() self.page.locator('#select-downloadActivityOptionId-label').click()