You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a bank account holder, I want to withdraw money from my account.
Acceptance Criteria:
Scenario 1: Successful Withdrawal
Given a user has an existing account with sufficient funds,
When he requests to withdraw an amount,
Then the account balance should be decreased by the withdrawn amount.
Scenario 2: Insufficient Funds
Given a user attempts to withdraw more money than the account balance,
When he requests to withdraw an amount,
Then the system should reject the request and return an error message.
Scenario 3: Invalid Withdrawal Amount
Given a user attempts to withdraw a negative amount,
When he requests to withdraw an amount,
Then the withdrawal has to be rejected with an error message.
Scenario 4: Invalid account
Given a user attempts to withdraw money from an invalid account,
When he requests to withdraw an amount,
Then the withdrawal has to be rejected with an error message.
The text was updated successfully, but these errors were encountered:
As a bank account holder, I want to withdraw money from my account.
Acceptance Criteria:
Scenario 1: Successful Withdrawal
Given a user has an existing account with sufficient funds,
When he requests to withdraw an amount,
Then the account balance should be decreased by the withdrawn amount.
Scenario 2: Insufficient Funds
Given a user attempts to withdraw more money than the account balance,
When he requests to withdraw an amount,
Then the system should reject the request and return an error message.
Scenario 3: Invalid Withdrawal Amount
Given a user attempts to withdraw a negative amount,
When he requests to withdraw an amount,
Then the withdrawal has to be rejected with an error message.
Scenario 4: Invalid account
Given a user attempts to withdraw money from an invalid account,
When he requests to withdraw an amount,
Then the withdrawal has to be rejected with an error message.
The text was updated successfully, but these errors were encountered: