Skip to content

045 — should check required fields

Description

Verifies that the bank account creation form enforces its required fields by showing validation errors when the user tries to save an empty form.

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

  1. Click the "Add bank account" button. Expected: the new bank account form opens with all inputs empty.
  2. Without filling anything, click "Save". Expected: the form does not submit and the Name, Currency and IBAN fields each display a "required field" validation message.
  • Spec: playwright/tests/integration/bank.spec.ts (line 78)
  • Spec: playwright/tests/integration/bank.spec.ts (line 78)