048 — should create account and edit it¶
Description¶
Verifies that an existing bank account can be edited (its name renamed) and that the change is persisted and shown on the list with the remaining fields intact.
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 "Edit" action on the newly created row. Expected: the bank account edit form opens prefilled.
- Change the account name to "title" and click "Save". Expected: an "Updated" toast appears.
- Inspect the row now named "title". Expected: it still shows the original account number, confirming the rest of the data is preserved.
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 131)
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 131)