---
# System prepended metadata

title: Create New Bank Account

---

# Create New Bank Account
```gherkin=
Feature: Create New Account
    In order to create a new banking account
    As an authorized user
    I want to create different accounts for different banking purposes
    
    Scenario: Customer Details Not Registerd
    Given I am an authorized user
    And I have not added my customer details
    When I request to create a new account
    Then I will receive an error
    
    Scenario: Customer Details Registered
    Given I am an authorized user
    And I have added my customer details
    When I request to create a new account
    Then A new account of my chosen type will be created
    
    Scenario: Account Requested
    Given I am an authorized user
    And I have added my customer details
    When I request a new account
    Then A bank employee with at least branch manager privilege must approve the account
    
    Scenario: Account Approved
    Given I request to create a new account
    When A bank employee with at least branch manager privilege approves the account
    Then I can make transactions with the new account
    
    Scenario: Approve A Loan
    Given I am a Manager
    And I am logged in
    When I approve a customer loan
    Then The corresponding loan account is created (mortgage or credit card)
    And The account will start with the authorized balance
    
```