Skip to content

049 — should create account and archive it

Description

Verifies that a bank account can be archived from its row action and that, once archived, it disappears from the active accounts 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

  1. 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.
  2. On the new row, choose the "Archive" action. Expected: the archive confirmation modal opens.
  3. Confirm archiving in the modal. Expected: an "Archived" toast appears and the active accounts list becomes empty (0 accounts).
  • Spec: playwright/tests/integration/bank.spec.ts (line 150)
  • Spec: playwright/tests/integration/bank.spec.ts (line 150)