add repeating to the tradeify dashboard

This commit is contained in:
Brandon Li
2026-09-03 13:04:43 -05:00
parent 722b70df07
commit 45f71cbecf
+3 -1
View File
@@ -181,7 +181,7 @@ export const FIRMS: Firm[] = [
// link — confirmed against a real capture, matchCount 1. The MUI // link — confirmed against a real capture, matchCount 1. The MUI
// hash classes on the same element (mui-*) are regenerated on // hash classes on the same element (mui-*) are regenerated on
// every site build, so they are not safe to select on. // every site build, so they are not safe to select on.
{ action: 'repeat', timesFrom: 'count', steps: [
{ action: 'click', selector: 'a.add_account_btn', label: 'Open Add Account' }, { action: 'click', selector: 'a.add_account_btn', label: 'Open Add Account' },
{ action: 'waitFor', selector: 'div.account_types:nth-child(3) > div[role="radiogroup"] > div > div:nth-child(2)', timeoutSeconds: 30, label: 'Wait for form' }, { action: 'waitFor', selector: 'div.account_types:nth-child(3) > div[role="radiogroup"] > div > div:nth-child(2)', timeoutSeconds: 30, label: 'Wait for form' },
{ action: 'click', selector: 'div.account_types:nth-child(3) > div[role="radiogroup"] > div > div:nth-child(2)'}, { action: 'click', selector: 'div.account_types:nth-child(3) > div[role="radiogroup"] > div > div:nth-child(2)'},
@@ -193,6 +193,8 @@ export const FIRMS: Firm[] = [
{ action: 'click', selector: 'div.summary_section > button.MuiButton-fullWidth', label: 'Buy Account' }, { action: 'click', selector: 'div.summary_section > button.MuiButton-fullWidth', label: 'Buy Account' },
// TODO: the rest of the purchase flow. Confirm each selector with // TODO: the rest of the purchase flow. Confirm each selector with
// `clicker.py locate` before adding it here. // `clicker.py locate` before adding it here.
{ action: 'navigate', label: 'Open the Tradeify dashboard' },
]},
], ],
}, },