aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Account.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Account.svelte')
-rw-r--r--src/components/Account.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/Account.svelte b/src/components/Account.svelte
index 711c5ba7..bb9aec22 100644
--- a/src/components/Account.svelte
+++ b/src/components/Account.svelte
@@ -142,6 +142,8 @@
<div
class="shadow-lg space-y-4 p-4 cursor-pointer hover:bg-base-200"
aria-label="Payments"
+ data-testid="account-card"
+ data-account-type={accountType}
role="button"
tabindex="0"
onclick={goPayments}
@@ -180,7 +182,7 @@
class="contents"
onclick={(e) => setAccount(e, "/invoice")}
>
- <button class="btn !w-auto flex-1 !bg-base-300">
+ <button class="btn !w-auto flex-1 !bg-base-300" data-testid="account-receive">
<iconify-icon
noobserver
icon="ph:hand-coins-bold"