050 — should create account and archive it in modal¶
Description¶
Verifies that a bank account can be archived from inside the account detail/edit modal (instead of using the row's quick actions), with the same end result as archiving from the 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 newly created account row to open its detail modal. Expected: the bank account detail modal opens.
- Click the "Archive" button inside the modal. Expected: the archive confirmation modal opens.
- Confirm archiving. Expected: an "Archived" toast appears and the active accounts list becomes empty (0 accounts).
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 168)
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 168)