053 — should create two accounts and bulk archive them¶
Description¶
Verifies that multiple bank accounts can be selected at once via "Select all" and then archived 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 "Archive" action. Expected: a confirmation modal asks the user to confirm archiving the selected bank accounts.
- Confirm the bulk archive. Expected: an "Archived" toast appears and the active accounts list becomes empty (0 accounts).
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 239)
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 239)