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
AOpensBMultipleListen: B performs fdc3.addContextListener('fdc3.instrument') prior to the existing addContextListener`. The correct context listener should receive the context, and the promise completes successfully
AOpensBMalformedContext: A tries to pass malformed context to B. Context listener receives nothing, promise completes successfully.
The text was updated successfully, but these errors were encountered:
This has been partially implemented in #49 - we do have a big obstacle, how do you verify that a given app was opened and (optionally) context received. We'll look into various ways we can confirm this in an automated fashion.
A Opens B
AOpensB1
: [ ] A callsfdc3.open(‘app B Name’)
, check app B opensAOpensB1
: [ ] A callsfdc3.open({name: “<app B Name>”})
, check app B opensAOpensB1
: [ ] A callsfdc3.open({name: “<app B Name>”, appId: “<app B ID”})
, check app B opensAOpensB1
: [ ] A calls{appID: “<app ID>”}, check app **B** opens. (
FDC3 2.0`)A Fails To Open B
AFailsToOpenB
: Run the above 4 tests again with a non-existent app name/app id. Should return “App Not Found” Error from https://fdc3.finos.org/docs/api/ref/Errors#openerrorA Opens B With Context
AOpensB1
except with a<context>
argumentcheck app opens
fdc3.addContextListener()
- receives
<context>
from AAOpensBWithContext
: Perform above testsAOpensBWithSpecificContext
: Perform above but replace Bs call withfdc3.addContextListener('fdc3.instrument
)`Specific Context
fdc3.open(‘app Name’, <contact context>)
check app opens
- receives from a
https://fdc3.finos.org/docs/api/ref/Errors#openerror
AOpensBWithWrongContext
: As aboveAOpensBNoListen
: Skip `fdc3.addContextListener() above.AOpensBMultipleListen
: B performsfdc3.addContextListener('fdc3.instrument') prior to the existing
addContextListener`. The correct context listener should receive the context, and the promise completes successfullyAOpensBMalformedContext
: A tries to pass malformed context to B. Context listener receives nothing, promise completes successfully.The text was updated successfully, but these errors were encountered: