Browse Source

test: project duplicate, ignore nc___

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5848/head
Raju Udava 1 year ago
parent
commit
aaa56732fb
  1. 3
      tests/playwright/tests/utils/objectCompareUtil.ts

3
tests/playwright/tests/utils/objectCompareUtil.ts

@ -51,7 +51,8 @@ export function deepCompare(
for (const key of keys1) {
if (
(ignoredFields !== undefined && ignoredFields.has(key)) ||
key.endsWith(' List') /* temp hack to avoid fields like */
key.endsWith(' List') /* temp hack to avoid fields like */ ||
key.includes('___')
) {
// console.log(`${keyId} ignored in comparison`)
} else {

Loading…
Cancel
Save