summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vid-webpack-master/cypress/support/steps/general/compareDeepObjects.step.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-webpack-master/cypress/support/steps/general/compareDeepObjects.step.ts b/vid-webpack-master/cypress/support/steps/general/compareDeepObjects.step.ts
index ee5e95a3a..901a9b17f 100644
--- a/vid-webpack-master/cypress/support/steps/general/compareDeepObjects.step.ts
+++ b/vid-webpack-master/cypress/support/steps/general/compareDeepObjects.step.ts
@@ -24,7 +24,7 @@ function deepCompare(actual : any, expected : any) {
if(diff.length > 0){
console.error("diff", diff);
cy.log("The object are not equals", diff);
- expect(actual).equals(expected);
+ expect(actual).equals(expected, `diff: ${diff}, actual:${JSON.stringify(actual)}, expected:${JSON.stringify(expected)}`);
}
}
}