From 8cf7da58fd280d6280169a6f5dffdf3f051fcb24 Mon Sep 17 00:00:00 2001 From: Daniel Bimschas <daniel@bimschas.com> Date: Thu, 27 Feb 2025 16:42:58 +0100 Subject: [PATCH] HOLI-9793 HOLI-10970: syntax fix in smoke test --- smoketest/main.js | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/smoketest/main.js b/smoketest/main.js index d315f5a..99a6d49 100644 --- a/smoketest/main.js +++ b/smoketest/main.js @@ -28,19 +28,21 @@ function forQuery(query, checkFunction) { // Define your smoketest(s) here. export default () => { forQuery( - `engagementRecosV2(offset:0, limit:10, topics:["animal-welfare"]) { - data { - engagement { - id - title - description - topicsV2 - skillsV2 + `{ + engagementRecosV2(offset:0, limit:10, topics:["animal-welfare"]) { + data { + engagement { + id + title + description + topicsV2 + skillsV2 + } + matchedTopics + matchedSkills + } } - matchedTopics - matchedSkills - } - }`, + }`, (response) => { check(response, { 'is status 200': (r) => r.status === 200, -- GitLab