052 — should create two accounts and bulk delete them¶
Description¶
Verifies that multiple bank accounts can be selected at once via "Select all" and then moved to trash in a single bulk action.
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¶
- Create the first bank account by clicking "Add bank account", filling its data and clicking "Save". Expected: a "Created" toast appears, the row shows the chosen currency, and the list contains 1 account.
- Create a second bank account named "title" with a different IBAN and click "Save". Expected: a "Created" toast appears, the "title" row shows the chosen currency, and the list contains 2 accounts.
- Click "Select all". Expected: the bulk-actions header shows "2" items selected.
- Click the bulk "Move to trash" action. Expected: a confirmation modal asks the user to confirm deleting the selected bank accounts.
- Confirm the bulk delete. 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 203)
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 203)