diff --git a/smoketest/main.js b/smoketest/main.js index d315f5af581bf0eaccfe63544ffbf5010c80b767..99a6d49715aff26dcb61d3538f8f6bce37399100 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,