artes 1.1.48 → 1.1.49
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
|
@@ -821,8 +821,8 @@ Then(
|
|
|
821
821
|
"User expects that response has {string} field with {string} value",
|
|
822
822
|
async (field, value) => {
|
|
823
823
|
extractVarsFromResponse(context.response["Response Body"], field);
|
|
824
|
-
|
|
825
|
-
expect(
|
|
824
|
+
const varToString = JSON.stringify(context.vars[field]);
|
|
825
|
+
expect(varToString).toBe(value);
|
|
826
826
|
},
|
|
827
827
|
);
|
|
828
828
|
|