046 — should check wrong format of iban/swift¶
Description¶
Verifies that the IBAN and SWIFT fields are format-validated: entering nonsense strings prevents the bank account from being saved and surfaces format errors on both fields.
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.
Steps¶
- Click the "Add bank account" button. Expected: the new bank account form opens.
- Enter a valid account name, currency and account number.
- Type an invalid IBAN value (e.g.
fsafdsa) and an invalid SWIFT value (e.g.safads). - Click "Save". Expected: the form does not submit and both the IBAN and SWIFT fields show a "wrong format" validation message.
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 84)
Related¶
- Spec:
playwright/tests/integration/bank.spec.ts(line 84)