SME-Issues / issues

0 stars 0 forks source link

Query Balance Tests Canonical - 19/07/19 19:51 - 5004 #4801

Open SME-Issues opened 5 years ago

SME-Issues commented 5 years ago

Query Balance Tests Canonical

SME-Issues commented 5 years ago

Understood and failed but likely higher priority

Expressions Notes
present the current business current account balance
  • Expected context .AccountBalances .Count to be 1, but found 2.
  • Account type reference mismatch . Looking for: 'business current account', found: 'current business current account'
  • Response: I've scanned the digits and you have £-602 in your current account and £23,410 in your savings account.
show me the current current account balance
  • Expected context .AccountBalances .Count to be 1, but found 2.
  • Account type reference mismatch . Looking for: 'current account', found: 'current current account'
  • Response: I've had a look at the latest picture and there's £-602 in your current account and £23,410 in your savings account.
show me the current savings account balance
  • Expected context .AccountBalances .Count to be 1, but found 2.
  • Account type reference mismatch . Looking for: 'savings account', found: 'current savings account'
  • Response: I've had a quick look and there's £-602 in your current account and £23,410 in your savings account.
present my current business account balance
  • Expected context .AccountBalances .Count to be 2, but found 1.
  • Account type reference mismatch . Looking for: 'business account', found: 'current business account'
  • Response: I've just queried for you and you have £-602 in your current account.
what is my current available balance for my deposit account
  • Expected context .AccountNotFoundCount to be 0 because (make sure test is set up correctly), but found 1.
  • Account type reference mismatch . Looking for: 'deposit account', found: 'my current available balance for deposit account'
  • Response: That bank account type is not recognised by SME Banking.
do i have much left in my charity terms deposit account
  • Expected ctx .AccountQueryContext .AccountNotFoundCount to be 1, but found 0.
  • Account type reference mismatch . Looking for: 'charity terms deposit account', found: 'terms terms deposit account'
  • Response: I've had a look at the latest picture and you have £23,410 in your savings account.
SME-Issues commented 5 years ago

Understood and failed but likely lower priority

Expressions Notes
do i have much left in my charity terms deposits account
  • Account type reference mismatch . Looking for: 'charity terms deposits account', found: 'terms terms deposits account'
  • Response: I've analysed the state of play and you have £2,500 in your savings account.
do you know my charity's account balance
After pre-processingdo you know my charity account balance
  • Account type reference mismatch . Looking for: 'charity's account', found: 'charity account'
  • Response: I can confirm there is £21,398 in your current account.
how much do i currently have in my current business account
  • Account type reference mismatch . Looking for: 'business account', found: 'my current business account'
  • Response: I can confirm there's £-602 in your current account and £23,410 in your savings account.
is my current account in it's overdraft
  • Expected to find entity 'overdraft' but found only {text, acct_type}
  • Response: I've investigated the current situation and you currently have £-602 in your current account.
tell me how much i can spend from the charity account before i come overdrawn
  • Account type reference mismatch . Looking for: 'charity account', found: (none)
  • Response: I've had a scoot around and you're not overdrawn. You currently have £21,398 in your current account.
tell me the balance of my savings account for april last year
  • Failed because strictly speaking this should always be April of last year, even if the current month is July . We don't have support for that in AI or code though .. Expected to find entity 'date_mod' but found only {datetime, text, acct_type, balance}
  • Response: I've inspected and at the end of April 2019 there was £45,320 in your savings account.
SME-Issues commented 5 years ago

Test Exception

Expressions Notes
tell me the balance of my current account in june of last year SMEBankingAPI .Tests .Reporting .Helpers .TestFailedException: Error running test: Found multiple datetime entities in 'tell me the balance of my current account in june of last year' at async Task SMEBankingAPI .Tests .Reporting .InputProcessing .BankingAiProcessingTestBase .Proc…
what was the balance of the business account last week on thursday SMEBankingAPI .Tests .Reporting .Helpers .TestFailedException: Error running test: Found multiple datetime entities in 'what was the balance of the business account last week on thursday' at async Task SMEBankingAPI .Tests .Reporting .InputProcessing .BankingAiProcessingTestBase .…