artes 1.7.9 → 1.7.10
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
|
@@ -1270,14 +1270,14 @@ Then(
|
|
|
1270
1270
|
async (field, value) => {
|
|
1271
1271
|
extractVarsFromResponse(context.response["Response Body"], field);
|
|
1272
1272
|
const key = pathToCamelCase(field);
|
|
1273
|
-
expect(String(context.vars[key])).toBe(value);
|
|
1273
|
+
expect(String(context.vars[key])).toBe(resolveVariable(value));
|
|
1274
1274
|
},
|
|
1275
1275
|
);
|
|
1276
1276
|
|
|
1277
1277
|
Then(
|
|
1278
1278
|
"User expects that {string} should match {string}",
|
|
1279
1279
|
async (value1, value2) => {
|
|
1280
|
-
await expect(resolveVariable(value1)).toBe(value2);
|
|
1280
|
+
await expect(resolveVariable(value1)).toBe(resolveVariable(value2));
|
|
1281
1281
|
},
|
|
1282
1282
|
);
|
|
1283
1283
|
|