SME-Issues / issues

0 stars 0 forks source link

Query Balance Tests Canonical - 05/12/2018 - 5004 #1712

Closed SME-Issues closed 5 years ago

SME-Issues commented 5 years ago

Query Balance Tests Canonical

SME-Issues commented 5 years ago

Understood and failed

Expressions Notes
is my club and societies balance okay right now expected intent to be query_balance but found (from 'set_date')
... Account type reference mismatch . Looking for: 'club and societies', found: (none)
what was my savings account balance sitting at in june expected intent to be query_balance but found (from 'set_date')
... Account type reference mismatch . Looking for: 'savings account', found: (none)
when was my charity term deposit last over £500k expected to find intent query_balance but found only none, query_payment
... Account type reference mismatch . Looking for: 'charity term deposit', found: (none)
what are the funds available to me in my current account Expected context .AccountBalances .Count to be 1, but found 2.
... Account type reference mismatch . Looking for: 'current account', found: (none)
is my current account in it's overdraft Expected context .AccountNotFoundCount to be 0 because (make sure test is set up correctly), but found 1.
... Expected to find entity 'overdraft' but found only {text, acct_type}
when was my business account balance above a million pounds Expected context .UnsupportedType to be BalanceByDate, but found None.
what was my current account balance in april Expected ctx .AccountQueryContext .BalanceDate to be <2018-04-02>, but found <2018-04-30>.
SME-Issues commented 5 years ago

Understood and failed but ok

Expressions Notes
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)
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' …
what was left in the business account at the end of the last financial year Entity 'date_mod' should contain a single value but contains {the, last and the}
SME-Issues commented 5 years ago

Failed with exception

Expressions Notes
tell me the balance of my current account in june of last year PulseAPI .Tests .Reporting .Helpers .TestFailedException: Error running test ---> System .InvalidOperationException: Found multiple datetime entities in 'tell me the balance of my current account in june …
what was the balance of the business account last week on thursday PulseAPI .Tests .Reporting .Helpers .TestFailedException: Error running test ---> System .InvalidOperationException: Found multiple datetime entities in 'what was the balance of the business account last …