diff --git a/components/Panels/AddExpense.tsx b/components/Panels/AddExpense.tsx index 7a02d1b..6f3b976 100644 --- a/components/Panels/AddExpense.tsx +++ b/components/Panels/AddExpense.tsx @@ -171,6 +171,7 @@ const AddExpense = ({ budgets, reloadData }: AddExpenseProps) => { type="number" inputMode="decimal" onKeyDown={onKeyDown} + data-automation="add-expense-cost" /> @@ -181,6 +182,7 @@ const AddExpense = ({ budgets, reloadData }: AddExpenseProps) => { autoComplete="off" type="text" onKeyDown={onKeyDown} + data-automation="add-expense-description" /> @@ -190,6 +192,7 @@ const AddExpense = ({ budgets, reloadData }: AddExpenseProps) => { setBudget(budgets[event.target.selectedIndex].name) } value={budget || 'Misc'} + data-automation="add-expense-budget" > {budgetsToShow.map((budgetOption: T.Budget) => (