finos / FDC3-conformance-framework

A framework for testing whether desktop containers implement the FDC3 standard
Apache License 2.0
14 stars 15 forks source link

Metadata V2 tests #120

Closed Joe-Dunleavy closed 2 years ago

Joe-Dunleavy commented 2 years ago

A new mock app entry needs to be added to the app directory for these tests to work.

name: MetadataApp appId: MetadataAppId

the following properties are also required: image

Notes: A couple of things preventing me from thoroughly testing these with Glu42:

  1. Waiting on Glu team to add the ability to add a listener without joining a channel first. The mock metadata app adds a listener to receive commands from the test app.
  2. Tests that require two instances of the same app to be opened throw the following error when opening the second instance of the app:

Error: Internal Platform Communication Error. Attempted operation: "applicationStart" with data: {"name":"MetadataAppId","waitForAGMReady":true}

The metadata tests are covered in the following test files: