From e5638d7c5977a2a6af3413a6b2a4cb68b69a1449 Mon Sep 17 00:00:00 2001 From: Rob Moffat Date: Thu, 26 Sep 2024 10:08:41 +0100 Subject: [PATCH] Fixed another race condition --- src/test/v2.0/advanced/fdc3.getAppMetadata.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/v2.0/advanced/fdc3.getAppMetadata.ts b/src/test/v2.0/advanced/fdc3.getAppMetadata.ts index 8be69594..bd88a904 100644 --- a/src/test/v2.0/advanced/fdc3.getAppMetadata.ts +++ b/src/test/v2.0/advanced/fdc3.getAppMetadata.ts @@ -2,6 +2,7 @@ import { assert, expect } from "chai"; import { APIDocumentation2_0 } from "../apiDocuments-2.0"; import { MetadataFdc3Api, MetadataValidator } from "../support/metadata-support-2.0"; import { closeMockAppWindow } from "../fdc3-2_0-utils"; +import { wait } from "../../../utils"; const getMetadataDocs = "\r\nDocumentation: " + APIDocumentation2_0.appMetadata + "\r\nCause: "; const validator = new MetadataValidator(); @@ -10,6 +11,7 @@ const api = new MetadataFdc3Api(); export default () => describe("fdc3.getAppMetadata", () => { after(async () => { + await wait(600) await closeMockAppWindow(appInstanceMetadata); });