From 5226385367cd9ff353dee66c61244acf229f0870 Mon Sep 17 00:00:00 2001 From: Pedro Silva Date: Wed, 26 Apr 2023 15:51:25 +0100 Subject: [PATCH] Change integration count assertion --- qa-core/src/internal-api/api/apis/IntegrationsAPI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa-core/src/internal-api/api/apis/IntegrationsAPI.ts b/qa-core/src/internal-api/api/apis/IntegrationsAPI.ts index b42b999825..2478823bfa 100644 --- a/qa-core/src/internal-api/api/apis/IntegrationsAPI.ts +++ b/qa-core/src/internal-api/api/apis/IntegrationsAPI.ts @@ -12,7 +12,7 @@ export default class IntegrationsAPI { const [response, json] = await this.client.get(`/integrations`) expect(response).toHaveStatusCode(200) const integrationsCount = Object.keys(json).length - expect(integrationsCount).toBe(16) + expect(integrationsCount).toBeGreaterThan(0) return [response, json] } }