artes 1.7.8 → 1.7.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artes",
3
- "version": "1.7.8",
3
+ "version": "1.7.9",
4
4
  "description": "The simplest way to automate UI and API tests using Cucumber-style steps.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1270,9 +1270,7 @@ Then(
1270
1270
  async (field, value) => {
1271
1271
  extractVarsFromResponse(context.response["Response Body"], field);
1272
1272
  const key = pathToCamelCase(field);
1273
- const varToString = JSON.stringify(context.vars[key]);
1274
- console.log(varToString)
1275
- expect(varToString).toBe(JSON.stringify(value));
1273
+ expect(String(context.vars[key])).toBe(value);
1276
1274
  },
1277
1275
  );
1278
1276