051 — should create account and delete it in modal¶
Description¶
Verifies that a bank account can be moved to trash from inside the account detail modal, with a confirmation step, and that it then disappears from the active list.
Preconditions¶
- A fresh test user is registered, onboarded and signed into a newly created organization.
- The user is on the organization's Bank account settings page.
- No bank accounts exist yet for this organization.
Steps¶
- Click "Add bank account", fill name, currency, account number and IBAN, then click "Save". Expected: a "Created" toast appears and the list contains 1 account.
- Click the new account row to open its detail modal. Expected: the bank account detail modal opens.
- Click the "Move to trash" button inside the modal. Expected: a confirmation modal asks the user to confirm deleting the bank account.
- Confirm moving to trash. Expected: a "Moved to trash" toast appears and the active accounts list becomes empty (0 accounts).
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 185)
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 185)