diff --git a/src/commands/utils.js b/src/commands/utils.js index f7fcf44b9..7b07ffb59 100644 --- a/src/commands/utils.js +++ b/src/commands/utils.js @@ -130,13 +130,13 @@ ${varValue} + '\` (for NEAR check)'); if (checks.length === 0) { if (assertFalse) { checks.push(`\ -if (${storedVar} === ${varValue}) { +if (${storedVar} == ${varValue}) { ${pushTo}.push("assert didn't fail for ${kind} \`" + ${varKey} + "\` (\`" + ${storedVar} + \ "\`)"); }`); } else { checks.push(`\ -if (${storedVar} !== ${varValue}) { +if (${storedVar} != ${varValue}) { ${pushTo}.push("expected \`" + ${varValue} + "\` for ${kind} \`" + ${varKey} + "\`, found \`" \ + ${storedVar} + "\`"); }`); diff --git a/tests/api-output/parseAssertAttribute/basic-1.toml b/tests/api-output/parseAssertAttribute/basic-1.toml index 2acf565e2..4674a1854 100644 --- a/tests/api-output/parseAssertAttribute/basic-1.toml +++ b/tests/api-output/parseAssertAttribute/basic-1.toml @@ -17,7 +17,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/basic-2.toml b/tests/api-output/parseAssertAttribute/basic-2.toml index 5883b47f4..9264e10a0 100644 --- a/tests/api-output/parseAssertAttribute/basic-2.toml +++ b/tests/api-output/parseAssertAttribute/basic-2.toml @@ -18,7 +18,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/css-1.toml b/tests/api-output/parseAssertAttribute/css-1.toml index a818126e4..f3f545b4d 100644 --- a/tests/api-output/parseAssertAttribute/css-1.toml +++ b/tests/api-output/parseAssertAttribute/css-1.toml @@ -17,7 +17,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/css-all.toml b/tests/api-output/parseAssertAttribute/css-all.toml index 5c1a60818..fef409f56 100644 --- a/tests/api-output/parseAssertAttribute/css-all.toml +++ b/tests/api-output/parseAssertAttribute/css-all.toml @@ -18,7 +18,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/css-empty.toml b/tests/api-output/parseAssertAttribute/css-empty.toml index 43b7923c7..353456b37 100644 --- a/tests/api-output/parseAssertAttribute/css-empty.toml +++ b/tests/api-output/parseAssertAttribute/css-empty.toml @@ -17,7 +17,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/css-quote-1.toml b/tests/api-output/parseAssertAttribute/css-quote-1.toml index 34656453c..04cfad5b7 100644 --- a/tests/api-output/parseAssertAttribute/css-quote-1.toml +++ b/tests/api-output/parseAssertAttribute/css-quote-1.toml @@ -17,7 +17,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/css-quote-2.toml b/tests/api-output/parseAssertAttribute/css-quote-2.toml index 904b84899..e2e9f357a 100644 --- a/tests/api-output/parseAssertAttribute/css-quote-2.toml +++ b/tests/api-output/parseAssertAttribute/css-quote-2.toml @@ -18,7 +18,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/multiline-2.toml b/tests/api-output/parseAssertAttribute/multiline-2.toml index 1b7d49a0f..c8bb9970d 100644 --- a/tests/api-output/parseAssertAttribute/multiline-2.toml +++ b/tests/api-output/parseAssertAttribute/multiline-2.toml @@ -18,7 +18,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/null-1.toml b/tests/api-output/parseAssertAttribute/null-1.toml index 03ac737d1..f916ef1c9 100644 --- a/tests/api-output/parseAssertAttribute/null-1.toml +++ b/tests/api-output/parseAssertAttribute/null-1.toml @@ -17,7 +17,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/null-2.toml b/tests/api-output/parseAssertAttribute/null-2.toml index ac895ded8..002076860 100644 --- a/tests/api-output/parseAssertAttribute/null-2.toml +++ b/tests/api-output/parseAssertAttribute/null-2.toml @@ -18,7 +18,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/pseudo-1.toml b/tests/api-output/parseAssertAttribute/pseudo-1.toml index f7112cbbc..b81e2de2d 100644 --- a/tests/api-output/parseAssertAttribute/pseudo-1.toml +++ b/tests/api-output/parseAssertAttribute/pseudo-1.toml @@ -17,7 +17,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/pseudo-2.toml b/tests/api-output/parseAssertAttribute/pseudo-2.toml index b3a68f44b..72ba22a9b 100644 --- a/tests/api-output/parseAssertAttribute/pseudo-2.toml +++ b/tests/api-output/parseAssertAttribute/pseudo-2.toml @@ -18,7 +18,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/pseudo-3.toml b/tests/api-output/parseAssertAttribute/pseudo-3.toml index 5554420d2..291f84d53 100644 --- a/tests/api-output/parseAssertAttribute/pseudo-3.toml +++ b/tests/api-output/parseAssertAttribute/pseudo-3.toml @@ -17,7 +17,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/pseudo-4.toml b/tests/api-output/parseAssertAttribute/pseudo-4.toml index bf393c8bb..3ffda5e9f 100644 --- a/tests/api-output/parseAssertAttribute/pseudo-4.toml +++ b/tests/api-output/parseAssertAttribute/pseudo-4.toml @@ -18,7 +18,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/pseudo-5.toml b/tests/api-output/parseAssertAttribute/pseudo-5.toml index bb418f889..e7f1a4fc8 100644 --- a/tests/api-output/parseAssertAttribute/pseudo-5.toml +++ b/tests/api-output/parseAssertAttribute/pseudo-5.toml @@ -17,7 +17,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/pseudo-6.toml b/tests/api-output/parseAssertAttribute/pseudo-6.toml index f7b07458e..b2a67d534 100644 --- a/tests/api-output/parseAssertAttribute/pseudo-6.toml +++ b/tests/api-output/parseAssertAttribute/pseudo-6.toml @@ -18,7 +18,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/xpath-1.toml b/tests/api-output/parseAssertAttribute/xpath-1.toml index 83928c921..0db7e654f 100644 --- a/tests/api-output/parseAssertAttribute/xpath-1.toml +++ b/tests/api-output/parseAssertAttribute/xpath-1.toml @@ -17,7 +17,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/xpath-2.toml b/tests/api-output/parseAssertAttribute/xpath-2.toml index 205883cf0..a83ac40ef 100644 --- a/tests/api-output/parseAssertAttribute/xpath-2.toml +++ b/tests/api-output/parseAssertAttribute/xpath-2.toml @@ -17,7 +17,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttribute/xpath-3.toml b/tests/api-output/parseAssertAttribute/xpath-3.toml index 1b7d49a0f..c8bb9970d 100644 --- a/tests/api-output/parseAssertAttribute/xpath-3.toml +++ b/tests/api-output/parseAssertAttribute/xpath-3.toml @@ -18,7 +18,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr !== parseAssertElemAttrValue) { + if (attr != parseAssertElemAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseAssertElemAttrValue + \"` for attribute `\" + parseAssertElemAttrAttribute + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/basic-1.toml b/tests/api-output/parseAssertAttributeFalse/basic-1.toml index 64eb16a6b..254106a67 100644 --- a/tests/api-output/parseAssertAttributeFalse/basic-1.toml +++ b/tests/api-output/parseAssertAttributeFalse/basic-1.toml @@ -16,7 +16,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/basic-2.toml b/tests/api-output/parseAssertAttributeFalse/basic-2.toml index 9798faa6a..ea0a0c267 100644 --- a/tests/api-output/parseAssertAttributeFalse/basic-2.toml +++ b/tests/api-output/parseAssertAttributeFalse/basic-2.toml @@ -17,7 +17,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/css-1.toml b/tests/api-output/parseAssertAttributeFalse/css-1.toml index eba61fedb..137ff8b14 100644 --- a/tests/api-output/parseAssertAttributeFalse/css-1.toml +++ b/tests/api-output/parseAssertAttributeFalse/css-1.toml @@ -16,7 +16,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/css-all.toml b/tests/api-output/parseAssertAttributeFalse/css-all.toml index bfe69803e..37271c410 100644 --- a/tests/api-output/parseAssertAttributeFalse/css-all.toml +++ b/tests/api-output/parseAssertAttributeFalse/css-all.toml @@ -17,7 +17,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/css-empty.toml b/tests/api-output/parseAssertAttributeFalse/css-empty.toml index ac6b9336f..510dbce30 100644 --- a/tests/api-output/parseAssertAttributeFalse/css-empty.toml +++ b/tests/api-output/parseAssertAttributeFalse/css-empty.toml @@ -16,7 +16,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/css-quote-1.toml b/tests/api-output/parseAssertAttributeFalse/css-quote-1.toml index 8d21e86c2..713d2ff67 100644 --- a/tests/api-output/parseAssertAttributeFalse/css-quote-1.toml +++ b/tests/api-output/parseAssertAttributeFalse/css-quote-1.toml @@ -16,7 +16,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/css-quote-2.toml b/tests/api-output/parseAssertAttributeFalse/css-quote-2.toml index 41d7de01b..daf31c825 100644 --- a/tests/api-output/parseAssertAttributeFalse/css-quote-2.toml +++ b/tests/api-output/parseAssertAttributeFalse/css-quote-2.toml @@ -17,7 +17,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/multiline-2.toml b/tests/api-output/parseAssertAttributeFalse/multiline-2.toml index c0f8a4bae..edf50690f 100644 --- a/tests/api-output/parseAssertAttributeFalse/multiline-2.toml +++ b/tests/api-output/parseAssertAttributeFalse/multiline-2.toml @@ -17,7 +17,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/null-1.toml b/tests/api-output/parseAssertAttributeFalse/null-1.toml index b9008784a..140189c51 100644 --- a/tests/api-output/parseAssertAttributeFalse/null-1.toml +++ b/tests/api-output/parseAssertAttributeFalse/null-1.toml @@ -16,7 +16,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/null-2.toml b/tests/api-output/parseAssertAttributeFalse/null-2.toml index a7fd45d51..ecf985937 100644 --- a/tests/api-output/parseAssertAttributeFalse/null-2.toml +++ b/tests/api-output/parseAssertAttributeFalse/null-2.toml @@ -17,7 +17,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/pseudo-1.toml b/tests/api-output/parseAssertAttributeFalse/pseudo-1.toml index 422108950..b07433c51 100644 --- a/tests/api-output/parseAssertAttributeFalse/pseudo-1.toml +++ b/tests/api-output/parseAssertAttributeFalse/pseudo-1.toml @@ -16,7 +16,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/pseudo-2.toml b/tests/api-output/parseAssertAttributeFalse/pseudo-2.toml index 1f829e6a7..605664d38 100644 --- a/tests/api-output/parseAssertAttributeFalse/pseudo-2.toml +++ b/tests/api-output/parseAssertAttributeFalse/pseudo-2.toml @@ -17,7 +17,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/pseudo-3.toml b/tests/api-output/parseAssertAttributeFalse/pseudo-3.toml index 2afbd0ad3..8d496861a 100644 --- a/tests/api-output/parseAssertAttributeFalse/pseudo-3.toml +++ b/tests/api-output/parseAssertAttributeFalse/pseudo-3.toml @@ -16,7 +16,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/pseudo-4.toml b/tests/api-output/parseAssertAttributeFalse/pseudo-4.toml index 8a6fea21b..095c51f88 100644 --- a/tests/api-output/parseAssertAttributeFalse/pseudo-4.toml +++ b/tests/api-output/parseAssertAttributeFalse/pseudo-4.toml @@ -17,7 +17,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/pseudo-5.toml b/tests/api-output/parseAssertAttributeFalse/pseudo-5.toml index 113f83159..eae27f592 100644 --- a/tests/api-output/parseAssertAttributeFalse/pseudo-5.toml +++ b/tests/api-output/parseAssertAttributeFalse/pseudo-5.toml @@ -16,7 +16,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/pseudo-6.toml b/tests/api-output/parseAssertAttributeFalse/pseudo-6.toml index c8628ee7d..5af923c29 100644 --- a/tests/api-output/parseAssertAttributeFalse/pseudo-6.toml +++ b/tests/api-output/parseAssertAttributeFalse/pseudo-6.toml @@ -17,7 +17,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/xpath-1.toml b/tests/api-output/parseAssertAttributeFalse/xpath-1.toml index d7e6d6274..ff876829f 100644 --- a/tests/api-output/parseAssertAttributeFalse/xpath-1.toml +++ b/tests/api-output/parseAssertAttributeFalse/xpath-1.toml @@ -16,7 +16,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/xpath-2.toml b/tests/api-output/parseAssertAttributeFalse/xpath-2.toml index 4e90b8899..ddb6ecffa 100644 --- a/tests/api-output/parseAssertAttributeFalse/xpath-2.toml +++ b/tests/api-output/parseAssertAttributeFalse/xpath-2.toml @@ -16,7 +16,7 @@ await page.evaluate(e => { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertAttributeFalse/xpath-3.toml b/tests/api-output/parseAssertAttributeFalse/xpath-3.toml index c0f8a4bae..edf50690f 100644 --- a/tests/api-output/parseAssertAttributeFalse/xpath-3.toml +++ b/tests/api-output/parseAssertAttributeFalse/xpath-3.toml @@ -17,7 +17,7 @@ for (let i = 0, len = parseAssertElemAttr.length; i < len; ++i) { continue; } const attr = e.getAttribute(parseAssertElemAttrAttribute); - if (attr === parseAssertElemAttrValue) { + if (attr == parseAssertElemAttrValue) { nonMatchingAttrs.push(\"assert didn't fail for attribute `\" + parseAssertElemAttrAttribute + \"` (`\" + attr + \"`)\"); } } diff --git a/tests/api-output/parseAssertClipboard/basic-1.toml b/tests/api-output/parseAssertClipboard/basic-1.toml index 2b2fb0db4..b1d651a6e 100644 --- a/tests/api-output/parseAssertClipboard/basic-1.toml +++ b/tests/api-output/parseAssertClipboard/basic-1.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseAssertClipboard/basic-2.toml b/tests/api-output/parseAssertClipboard/basic-2.toml index 2b2fb0db4..b1d651a6e 100644 --- a/tests/api-output/parseAssertClipboard/basic-2.toml +++ b/tests/api-output/parseAssertClipboard/basic-2.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseAssertClipboard/basic-3.toml b/tests/api-output/parseAssertClipboard/basic-3.toml index c8667ad9d..046d499d5 100644 --- a/tests/api-output/parseAssertClipboard/basic-3.toml +++ b/tests/api-output/parseAssertClipboard/basic-3.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseAssertClipboard/basic-4.toml b/tests/api-output/parseAssertClipboard/basic-4.toml index c8667ad9d..046d499d5 100644 --- a/tests/api-output/parseAssertClipboard/basic-4.toml +++ b/tests/api-output/parseAssertClipboard/basic-4.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseAssertClipboardFalse/basic-1.toml b/tests/api-output/parseAssertClipboardFalse/basic-1.toml index 5a0c26527..63cda8496 100644 --- a/tests/api-output/parseAssertClipboardFalse/basic-1.toml +++ b/tests/api-output/parseAssertClipboardFalse/basic-1.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseAssertClipboardFalse/basic-2.toml b/tests/api-output/parseAssertClipboardFalse/basic-2.toml index 5a0c26527..63cda8496 100644 --- a/tests/api-output/parseAssertClipboardFalse/basic-2.toml +++ b/tests/api-output/parseAssertClipboardFalse/basic-2.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseAssertClipboardFalse/basic-3.toml b/tests/api-output/parseAssertClipboardFalse/basic-3.toml index efc0fa860..ec7161f93 100644 --- a/tests/api-output/parseAssertClipboardFalse/basic-3.toml +++ b/tests/api-output/parseAssertClipboardFalse/basic-3.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseAssertClipboardFalse/basic-4.toml b/tests/api-output/parseAssertClipboardFalse/basic-4.toml index efc0fa860..ec7161f93 100644 --- a/tests/api-output/parseAssertClipboardFalse/basic-4.toml +++ b/tests/api-output/parseAssertClipboardFalse/basic-4.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseAssertDocumentProperty/basic-1.toml b/tests/api-output/parseAssertDocumentProperty/basic-1.toml index fb4ad3c02..20566bdf5 100644 --- a/tests/api-output/parseAssertDocumentProperty/basic-1.toml +++ b/tests/api-output/parseAssertDocumentProperty/basic-1.toml @@ -35,7 +35,7 @@ instructions = [ return; } const prop = String(val); - if (prop !== parseAssertObjValue) { + if (prop != parseAssertObjValue) { nonMatchingProps.push(\"expected `\" + parseAssertObjValue + \"` for document property `\" + parseAssertObjKey + \"`, found `\" + prop + \"`\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertDocumentProperty/basic-2.toml b/tests/api-output/parseAssertDocumentProperty/basic-2.toml index fb4ad3c02..20566bdf5 100644 --- a/tests/api-output/parseAssertDocumentProperty/basic-2.toml +++ b/tests/api-output/parseAssertDocumentProperty/basic-2.toml @@ -35,7 +35,7 @@ instructions = [ return; } const prop = String(val); - if (prop !== parseAssertObjValue) { + if (prop != parseAssertObjValue) { nonMatchingProps.push(\"expected `\" + parseAssertObjValue + \"` for document property `\" + parseAssertObjKey + \"`, found `\" + prop + \"`\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertDocumentProperty/null-2.toml b/tests/api-output/parseAssertDocumentProperty/null-2.toml index 2a7574916..b69ed527f 100644 --- a/tests/api-output/parseAssertDocumentProperty/null-2.toml +++ b/tests/api-output/parseAssertDocumentProperty/null-2.toml @@ -35,7 +35,7 @@ instructions = [ return; } const prop = String(val); - if (prop !== parseAssertObjValue) { + if (prop != parseAssertObjValue) { nonMatchingProps.push(\"expected `\" + parseAssertObjValue + \"` for document property `\" + parseAssertObjKey + \"`, found `\" + prop + \"`\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertDocumentProperty/object-path-1.toml b/tests/api-output/parseAssertDocumentProperty/object-path-1.toml index 6c59a94b8..38338eecc 100644 --- a/tests/api-output/parseAssertDocumentProperty/object-path-1.toml +++ b/tests/api-output/parseAssertDocumentProperty/object-path-1.toml @@ -35,7 +35,7 @@ instructions = [ return; } const prop = String(val); - if (prop !== parseAssertObjValue) { + if (prop != parseAssertObjValue) { nonMatchingProps.push(\"expected `\" + parseAssertObjValue + \"` for document property `\" + parseAssertObjKey + \"`, found `\" + prop + \"`\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertDocumentProperty/object-path-3.toml b/tests/api-output/parseAssertDocumentProperty/object-path-3.toml index 45de301a2..808e9e4fc 100644 --- a/tests/api-output/parseAssertDocumentProperty/object-path-3.toml +++ b/tests/api-output/parseAssertDocumentProperty/object-path-3.toml @@ -35,7 +35,7 @@ instructions = [ return; } const prop = String(val); - if (prop !== parseAssertObjValue) { + if (prop != parseAssertObjValue) { nonMatchingProps.push(\"expected `\" + parseAssertObjValue + \"` for document property `\" + parseAssertObjKey + \"`, found `\" + prop + \"`\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertDocumentPropertyFalse/basic-1.toml b/tests/api-output/parseAssertDocumentPropertyFalse/basic-1.toml index 9ce80975d..fd2801a5a 100644 --- a/tests/api-output/parseAssertDocumentPropertyFalse/basic-1.toml +++ b/tests/api-output/parseAssertDocumentPropertyFalse/basic-1.toml @@ -36,7 +36,7 @@ instructions = [ return; } const prop = String(val); - if (prop === parseAssertObjValue) { + if (prop == parseAssertObjValue) { nonMatchingProps.push(\"assert didn't fail for document property `\" + parseAssertObjKey + \"` (`\" + prop + \"`)\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertDocumentPropertyFalse/basic-2.toml b/tests/api-output/parseAssertDocumentPropertyFalse/basic-2.toml index 9ce80975d..fd2801a5a 100644 --- a/tests/api-output/parseAssertDocumentPropertyFalse/basic-2.toml +++ b/tests/api-output/parseAssertDocumentPropertyFalse/basic-2.toml @@ -36,7 +36,7 @@ instructions = [ return; } const prop = String(val); - if (prop === parseAssertObjValue) { + if (prop == parseAssertObjValue) { nonMatchingProps.push(\"assert didn't fail for document property `\" + parseAssertObjKey + \"` (`\" + prop + \"`)\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertDocumentPropertyFalse/null-2.toml b/tests/api-output/parseAssertDocumentPropertyFalse/null-2.toml index 0ea452b39..8736e4481 100644 --- a/tests/api-output/parseAssertDocumentPropertyFalse/null-2.toml +++ b/tests/api-output/parseAssertDocumentPropertyFalse/null-2.toml @@ -36,7 +36,7 @@ instructions = [ return; } const prop = String(val); - if (prop === parseAssertObjValue) { + if (prop == parseAssertObjValue) { nonMatchingProps.push(\"assert didn't fail for document property `\" + parseAssertObjKey + \"` (`\" + prop + \"`)\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertDocumentPropertyFalse/object-path-1.toml b/tests/api-output/parseAssertDocumentPropertyFalse/object-path-1.toml index 064653e37..0c7f83220 100644 --- a/tests/api-output/parseAssertDocumentPropertyFalse/object-path-1.toml +++ b/tests/api-output/parseAssertDocumentPropertyFalse/object-path-1.toml @@ -36,7 +36,7 @@ instructions = [ return; } const prop = String(val); - if (prop === parseAssertObjValue) { + if (prop == parseAssertObjValue) { nonMatchingProps.push(\"assert didn't fail for document property `\" + parseAssertObjKey + \"` (`\" + prop + \"`)\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertDocumentPropertyFalse/object-path-3.toml b/tests/api-output/parseAssertDocumentPropertyFalse/object-path-3.toml index a7c36c78c..a63514b2c 100644 --- a/tests/api-output/parseAssertDocumentPropertyFalse/object-path-3.toml +++ b/tests/api-output/parseAssertDocumentPropertyFalse/object-path-3.toml @@ -36,7 +36,7 @@ instructions = [ return; } const prop = String(val); - if (prop === parseAssertObjValue) { + if (prop == parseAssertObjValue) { nonMatchingProps.push(\"assert didn't fail for document property `\" + parseAssertObjKey + \"` (`\" + prop + \"`)\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertProperty/basic-1.toml b/tests/api-output/parseAssertProperty/basic-1.toml index f1178dd4f..0f12d3540 100644 --- a/tests/api-output/parseAssertProperty/basic-1.toml +++ b/tests/api-output/parseAssertProperty/basic-1.toml @@ -37,7 +37,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/basic-2.toml b/tests/api-output/parseAssertProperty/basic-2.toml index f52cbc3be..601c0d423 100644 --- a/tests/api-output/parseAssertProperty/basic-2.toml +++ b/tests/api-output/parseAssertProperty/basic-2.toml @@ -37,7 +37,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/basic-3.toml b/tests/api-output/parseAssertProperty/basic-3.toml index 75234e909..62e24cd17 100644 --- a/tests/api-output/parseAssertProperty/basic-3.toml +++ b/tests/api-output/parseAssertProperty/basic-3.toml @@ -38,7 +38,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/multiline-2.toml b/tests/api-output/parseAssertProperty/multiline-2.toml index 7ed29f8bf..9ccd0a60a 100644 --- a/tests/api-output/parseAssertProperty/multiline-2.toml +++ b/tests/api-output/parseAssertProperty/multiline-2.toml @@ -38,7 +38,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/object-path-1.toml b/tests/api-output/parseAssertProperty/object-path-1.toml index 97e3e70f0..1c22acd47 100644 --- a/tests/api-output/parseAssertProperty/object-path-1.toml +++ b/tests/api-output/parseAssertProperty/object-path-1.toml @@ -37,7 +37,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/object-path-2.toml b/tests/api-output/parseAssertProperty/object-path-2.toml index 6b965bdef..f997763be 100644 --- a/tests/api-output/parseAssertProperty/object-path-2.toml +++ b/tests/api-output/parseAssertProperty/object-path-2.toml @@ -38,7 +38,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/pseudo-1.toml b/tests/api-output/parseAssertProperty/pseudo-1.toml index 093a2ce28..1bcdc9fbc 100644 --- a/tests/api-output/parseAssertProperty/pseudo-1.toml +++ b/tests/api-output/parseAssertProperty/pseudo-1.toml @@ -37,7 +37,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/pseudo-2.toml b/tests/api-output/parseAssertProperty/pseudo-2.toml index 6145ee0bb..df24c597d 100644 --- a/tests/api-output/parseAssertProperty/pseudo-2.toml +++ b/tests/api-output/parseAssertProperty/pseudo-2.toml @@ -38,7 +38,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/pseudo-3.toml b/tests/api-output/parseAssertProperty/pseudo-3.toml index cd41badd7..07da98869 100644 --- a/tests/api-output/parseAssertProperty/pseudo-3.toml +++ b/tests/api-output/parseAssertProperty/pseudo-3.toml @@ -37,7 +37,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/pseudo-4.toml b/tests/api-output/parseAssertProperty/pseudo-4.toml index 3d1b51147..4b44aa085 100644 --- a/tests/api-output/parseAssertProperty/pseudo-4.toml +++ b/tests/api-output/parseAssertProperty/pseudo-4.toml @@ -38,7 +38,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/pseudo-5.toml b/tests/api-output/parseAssertProperty/pseudo-5.toml index c93a21c22..3c6cc90b0 100644 --- a/tests/api-output/parseAssertProperty/pseudo-5.toml +++ b/tests/api-output/parseAssertProperty/pseudo-5.toml @@ -37,7 +37,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/pseudo-6.toml b/tests/api-output/parseAssertProperty/pseudo-6.toml index 1cfa1b6d3..093fc91c4 100644 --- a/tests/api-output/parseAssertProperty/pseudo-6.toml +++ b/tests/api-output/parseAssertProperty/pseudo-6.toml @@ -38,7 +38,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/undef-1.toml b/tests/api-output/parseAssertProperty/undef-1.toml index 227527421..5ced460eb 100644 --- a/tests/api-output/parseAssertProperty/undef-1.toml +++ b/tests/api-output/parseAssertProperty/undef-1.toml @@ -37,7 +37,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/undef-3.toml b/tests/api-output/parseAssertProperty/undef-3.toml index f30e1fe35..07a84eaa4 100644 --- a/tests/api-output/parseAssertProperty/undef-3.toml +++ b/tests/api-output/parseAssertProperty/undef-3.toml @@ -37,7 +37,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/xpath-1.toml b/tests/api-output/parseAssertProperty/xpath-1.toml index 5046303bb..f1ba8d6fd 100644 --- a/tests/api-output/parseAssertProperty/xpath-1.toml +++ b/tests/api-output/parseAssertProperty/xpath-1.toml @@ -37,7 +37,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/xpath-2.toml b/tests/api-output/parseAssertProperty/xpath-2.toml index 9b63bc934..82473bb74 100644 --- a/tests/api-output/parseAssertProperty/xpath-2.toml +++ b/tests/api-output/parseAssertProperty/xpath-2.toml @@ -37,7 +37,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertProperty/xpath-3.toml b/tests/api-output/parseAssertProperty/xpath-3.toml index 7ed29f8bf..9ccd0a60a 100644 --- a/tests/api-output/parseAssertProperty/xpath-3.toml +++ b/tests/api-output/parseAssertProperty/xpath-3.toml @@ -38,7 +38,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop !== parseAssertElemPropValue) { + if (prop != parseAssertElemPropValue) { nonMatchingProps.push(\"expected `\" + parseAssertElemPropValue + \"` for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"`, found `\" + prop + \"`\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/basic-1.toml b/tests/api-output/parseAssertPropertyFalse/basic-1.toml index 137a096c0..0e27e7d53 100644 --- a/tests/api-output/parseAssertPropertyFalse/basic-1.toml +++ b/tests/api-output/parseAssertPropertyFalse/basic-1.toml @@ -38,7 +38,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/basic-2.toml b/tests/api-output/parseAssertPropertyFalse/basic-2.toml index 1ddd46dfb..4ca143bba 100644 --- a/tests/api-output/parseAssertPropertyFalse/basic-2.toml +++ b/tests/api-output/parseAssertPropertyFalse/basic-2.toml @@ -38,7 +38,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/basic-3.toml b/tests/api-output/parseAssertPropertyFalse/basic-3.toml index f7bf85dc7..fcc7fd1ce 100644 --- a/tests/api-output/parseAssertPropertyFalse/basic-3.toml +++ b/tests/api-output/parseAssertPropertyFalse/basic-3.toml @@ -39,7 +39,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/multiline-2.toml b/tests/api-output/parseAssertPropertyFalse/multiline-2.toml index c9f2e5972..cdbdf760d 100644 --- a/tests/api-output/parseAssertPropertyFalse/multiline-2.toml +++ b/tests/api-output/parseAssertPropertyFalse/multiline-2.toml @@ -39,7 +39,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/object-path-1.toml b/tests/api-output/parseAssertPropertyFalse/object-path-1.toml index 3a1dd32d7..0afd9e45a 100644 --- a/tests/api-output/parseAssertPropertyFalse/object-path-1.toml +++ b/tests/api-output/parseAssertPropertyFalse/object-path-1.toml @@ -38,7 +38,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/object-path-2.toml b/tests/api-output/parseAssertPropertyFalse/object-path-2.toml index 4258b5106..1d9be1f7e 100644 --- a/tests/api-output/parseAssertPropertyFalse/object-path-2.toml +++ b/tests/api-output/parseAssertPropertyFalse/object-path-2.toml @@ -39,7 +39,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/pseudo-1.toml b/tests/api-output/parseAssertPropertyFalse/pseudo-1.toml index a7084275b..d5553a3a8 100644 --- a/tests/api-output/parseAssertPropertyFalse/pseudo-1.toml +++ b/tests/api-output/parseAssertPropertyFalse/pseudo-1.toml @@ -38,7 +38,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/pseudo-2.toml b/tests/api-output/parseAssertPropertyFalse/pseudo-2.toml index d64675188..9f21f7da8 100644 --- a/tests/api-output/parseAssertPropertyFalse/pseudo-2.toml +++ b/tests/api-output/parseAssertPropertyFalse/pseudo-2.toml @@ -39,7 +39,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/pseudo-3.toml b/tests/api-output/parseAssertPropertyFalse/pseudo-3.toml index 116ae0028..7f389f590 100644 --- a/tests/api-output/parseAssertPropertyFalse/pseudo-3.toml +++ b/tests/api-output/parseAssertPropertyFalse/pseudo-3.toml @@ -38,7 +38,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/pseudo-4.toml b/tests/api-output/parseAssertPropertyFalse/pseudo-4.toml index c669a2deb..e14b1d0c1 100644 --- a/tests/api-output/parseAssertPropertyFalse/pseudo-4.toml +++ b/tests/api-output/parseAssertPropertyFalse/pseudo-4.toml @@ -39,7 +39,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/pseudo-5.toml b/tests/api-output/parseAssertPropertyFalse/pseudo-5.toml index 79946ae51..11834ca86 100644 --- a/tests/api-output/parseAssertPropertyFalse/pseudo-5.toml +++ b/tests/api-output/parseAssertPropertyFalse/pseudo-5.toml @@ -38,7 +38,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/pseudo-6.toml b/tests/api-output/parseAssertPropertyFalse/pseudo-6.toml index 4e63c7b19..d68322dbf 100644 --- a/tests/api-output/parseAssertPropertyFalse/pseudo-6.toml +++ b/tests/api-output/parseAssertPropertyFalse/pseudo-6.toml @@ -39,7 +39,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/undef-1.toml b/tests/api-output/parseAssertPropertyFalse/undef-1.toml index 23ed9dcd6..083866405 100644 --- a/tests/api-output/parseAssertPropertyFalse/undef-1.toml +++ b/tests/api-output/parseAssertPropertyFalse/undef-1.toml @@ -38,7 +38,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/undef-3.toml b/tests/api-output/parseAssertPropertyFalse/undef-3.toml index ad9b99eee..8e2e37b73 100644 --- a/tests/api-output/parseAssertPropertyFalse/undef-3.toml +++ b/tests/api-output/parseAssertPropertyFalse/undef-3.toml @@ -38,7 +38,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/xpath-1.toml b/tests/api-output/parseAssertPropertyFalse/xpath-1.toml index fb640c10d..0b7a450fd 100644 --- a/tests/api-output/parseAssertPropertyFalse/xpath-1.toml +++ b/tests/api-output/parseAssertPropertyFalse/xpath-1.toml @@ -38,7 +38,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/xpath-2.toml b/tests/api-output/parseAssertPropertyFalse/xpath-2.toml index b122c3073..271e0dfbb 100644 --- a/tests/api-output/parseAssertPropertyFalse/xpath-2.toml +++ b/tests/api-output/parseAssertPropertyFalse/xpath-2.toml @@ -38,7 +38,7 @@ await page.evaluate(e => { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertPropertyFalse/xpath-3.toml b/tests/api-output/parseAssertPropertyFalse/xpath-3.toml index c9f2e5972..cdbdf760d 100644 --- a/tests/api-output/parseAssertPropertyFalse/xpath-3.toml +++ b/tests/api-output/parseAssertPropertyFalse/xpath-3.toml @@ -39,7 +39,7 @@ for (let i = 0, len = parseAssertElemProp.length; i < len; ++i) { return; } const prop = String(val); - if (prop === parseAssertElemPropValue) { + if (prop == parseAssertElemPropValue) { nonMatchingProps.push(\"assert didn't fail for property `\" + parseAssertElemPropKey.map(p => `\"${p}\"`).join('.') + \"` (`\" + prop + \"`)\"); } }, parseAssertElemPropKey => { diff --git a/tests/api-output/parseAssertWindowProperty/basic-1.toml b/tests/api-output/parseAssertWindowProperty/basic-1.toml index 11ca29e82..10f4669d0 100644 --- a/tests/api-output/parseAssertWindowProperty/basic-1.toml +++ b/tests/api-output/parseAssertWindowProperty/basic-1.toml @@ -35,7 +35,7 @@ instructions = [ return; } const prop = String(val); - if (prop !== parseAssertObjValue) { + if (prop != parseAssertObjValue) { nonMatchingProps.push(\"expected `\" + parseAssertObjValue + \"` for window property `\" + parseAssertObjKey + \"`, found `\" + prop + \"`\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertWindowProperty/basic-2.toml b/tests/api-output/parseAssertWindowProperty/basic-2.toml index 11ca29e82..10f4669d0 100644 --- a/tests/api-output/parseAssertWindowProperty/basic-2.toml +++ b/tests/api-output/parseAssertWindowProperty/basic-2.toml @@ -35,7 +35,7 @@ instructions = [ return; } const prop = String(val); - if (prop !== parseAssertObjValue) { + if (prop != parseAssertObjValue) { nonMatchingProps.push(\"expected `\" + parseAssertObjValue + \"` for window property `\" + parseAssertObjKey + \"`, found `\" + prop + \"`\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertWindowProperty/null-2.toml b/tests/api-output/parseAssertWindowProperty/null-2.toml index 475b47da1..d29167aee 100644 --- a/tests/api-output/parseAssertWindowProperty/null-2.toml +++ b/tests/api-output/parseAssertWindowProperty/null-2.toml @@ -35,7 +35,7 @@ instructions = [ return; } const prop = String(val); - if (prop !== parseAssertObjValue) { + if (prop != parseAssertObjValue) { nonMatchingProps.push(\"expected `\" + parseAssertObjValue + \"` for window property `\" + parseAssertObjKey + \"`, found `\" + prop + \"`\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertWindowProperty/object-path-1.toml b/tests/api-output/parseAssertWindowProperty/object-path-1.toml index 04006cecd..d19f5e78c 100644 --- a/tests/api-output/parseAssertWindowProperty/object-path-1.toml +++ b/tests/api-output/parseAssertWindowProperty/object-path-1.toml @@ -35,7 +35,7 @@ instructions = [ return; } const prop = String(val); - if (prop !== parseAssertObjValue) { + if (prop != parseAssertObjValue) { nonMatchingProps.push(\"expected `\" + parseAssertObjValue + \"` for window property `\" + parseAssertObjKey + \"`, found `\" + prop + \"`\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertWindowProperty/object-path-3.toml b/tests/api-output/parseAssertWindowProperty/object-path-3.toml index de0ed9665..ba065ea37 100644 --- a/tests/api-output/parseAssertWindowProperty/object-path-3.toml +++ b/tests/api-output/parseAssertWindowProperty/object-path-3.toml @@ -35,7 +35,7 @@ instructions = [ return; } const prop = String(val); - if (prop !== parseAssertObjValue) { + if (prop != parseAssertObjValue) { nonMatchingProps.push(\"expected `\" + parseAssertObjValue + \"` for window property `\" + parseAssertObjKey + \"`, found `\" + prop + \"`\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertWindowPropertyFalse/basic-1.toml b/tests/api-output/parseAssertWindowPropertyFalse/basic-1.toml index 20ae845fe..7b19e042c 100644 --- a/tests/api-output/parseAssertWindowPropertyFalse/basic-1.toml +++ b/tests/api-output/parseAssertWindowPropertyFalse/basic-1.toml @@ -36,7 +36,7 @@ instructions = [ return; } const prop = String(val); - if (prop === parseAssertObjValue) { + if (prop == parseAssertObjValue) { nonMatchingProps.push(\"assert didn't fail for window property `\" + parseAssertObjKey + \"` (`\" + prop + \"`)\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertWindowPropertyFalse/basic-2.toml b/tests/api-output/parseAssertWindowPropertyFalse/basic-2.toml index 20ae845fe..7b19e042c 100644 --- a/tests/api-output/parseAssertWindowPropertyFalse/basic-2.toml +++ b/tests/api-output/parseAssertWindowPropertyFalse/basic-2.toml @@ -36,7 +36,7 @@ instructions = [ return; } const prop = String(val); - if (prop === parseAssertObjValue) { + if (prop == parseAssertObjValue) { nonMatchingProps.push(\"assert didn't fail for window property `\" + parseAssertObjKey + \"` (`\" + prop + \"`)\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertWindowPropertyFalse/null-2.toml b/tests/api-output/parseAssertWindowPropertyFalse/null-2.toml index 10ae09878..15a247ad8 100644 --- a/tests/api-output/parseAssertWindowPropertyFalse/null-2.toml +++ b/tests/api-output/parseAssertWindowPropertyFalse/null-2.toml @@ -36,7 +36,7 @@ instructions = [ return; } const prop = String(val); - if (prop === parseAssertObjValue) { + if (prop == parseAssertObjValue) { nonMatchingProps.push(\"assert didn't fail for window property `\" + parseAssertObjKey + \"` (`\" + prop + \"`)\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertWindowPropertyFalse/object-path-1.toml b/tests/api-output/parseAssertWindowPropertyFalse/object-path-1.toml index 18a753e10..d00f263e2 100644 --- a/tests/api-output/parseAssertWindowPropertyFalse/object-path-1.toml +++ b/tests/api-output/parseAssertWindowPropertyFalse/object-path-1.toml @@ -36,7 +36,7 @@ instructions = [ return; } const prop = String(val); - if (prop === parseAssertObjValue) { + if (prop == parseAssertObjValue) { nonMatchingProps.push(\"assert didn't fail for window property `\" + parseAssertObjKey + \"` (`\" + prop + \"`)\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseAssertWindowPropertyFalse/object-path-3.toml b/tests/api-output/parseAssertWindowPropertyFalse/object-path-3.toml index 5f94c5f5a..751bbd344 100644 --- a/tests/api-output/parseAssertWindowPropertyFalse/object-path-3.toml +++ b/tests/api-output/parseAssertWindowPropertyFalse/object-path-3.toml @@ -36,7 +36,7 @@ instructions = [ return; } const prop = String(val); - if (prop === parseAssertObjValue) { + if (prop == parseAssertObjValue) { nonMatchingProps.push(\"assert didn't fail for window property `\" + parseAssertObjKey + \"` (`\" + prop + \"`)\"); } }, parseAssertObjKey => { diff --git a/tests/api-output/parseStoreClipboard/basic-1.toml b/tests/api-output/parseStoreClipboard/basic-1.toml index 5c9cf66a9..3030b86d7 100644 --- a/tests/api-output/parseStoreClipboard/basic-1.toml +++ b/tests/api-output/parseStoreClipboard/basic-1.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseWaitForAttribute/basic-1.toml b/tests/api-output/parseWaitForAttribute/basic-1.toml index ed11b3e8f..be47fdf8f 100644 --- a/tests/api-output/parseWaitForAttribute/basic-1.toml +++ b/tests/api-output/parseWaitForAttribute/basic-1.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttribute/basic-2.toml b/tests/api-output/parseWaitForAttribute/basic-2.toml index fdf525e53..f8e28e6d9 100644 --- a/tests/api-output/parseWaitForAttribute/basic-2.toml +++ b/tests/api-output/parseWaitForAttribute/basic-2.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttribute/basic-3.toml b/tests/api-output/parseWaitForAttribute/basic-3.toml index 73d191429..46eea0381 100644 --- a/tests/api-output/parseWaitForAttribute/basic-3.toml +++ b/tests/api-output/parseWaitForAttribute/basic-3.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttribute/color-1.toml b/tests/api-output/parseWaitForAttribute/color-1.toml index b8f15779f..ed8461c05 100644 --- a/tests/api-output/parseWaitForAttribute/color-1.toml +++ b/tests/api-output/parseWaitForAttribute/color-1.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttribute/extra-1.toml b/tests/api-output/parseWaitForAttribute/extra-1.toml index 7af705b54..9b2a7e35a 100644 --- a/tests/api-output/parseWaitForAttribute/extra-1.toml +++ b/tests/api-output/parseWaitForAttribute/extra-1.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttribute/null-1.toml b/tests/api-output/parseWaitForAttribute/null-1.toml index 398871acb..0c50505e8 100644 --- a/tests/api-output/parseWaitForAttribute/null-1.toml +++ b/tests/api-output/parseWaitForAttribute/null-1.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttribute/pseudo-1.toml b/tests/api-output/parseWaitForAttribute/pseudo-1.toml index 7a9676748..7268777cd 100644 --- a/tests/api-output/parseWaitForAttribute/pseudo-1.toml +++ b/tests/api-output/parseWaitForAttribute/pseudo-1.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttribute/xpath-2.toml b/tests/api-output/parseWaitForAttribute/xpath-2.toml index 2d4fb10fb..847e08f8b 100644 --- a/tests/api-output/parseWaitForAttribute/xpath-2.toml +++ b/tests/api-output/parseWaitForAttribute/xpath-2.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttribute/xpath-3.toml b/tests/api-output/parseWaitForAttribute/xpath-3.toml index ec770860e..cd01f2a6e 100644 --- a/tests/api-output/parseWaitForAttribute/xpath-3.toml +++ b/tests/api-output/parseWaitForAttribute/xpath-3.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttributeFalse/basic-1.toml b/tests/api-output/parseWaitForAttributeFalse/basic-1.toml index 22726fd4c..9817338b8 100644 --- a/tests/api-output/parseWaitForAttributeFalse/basic-1.toml +++ b/tests/api-output/parseWaitForAttributeFalse/basic-1.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttributeFalse/basic-2.toml b/tests/api-output/parseWaitForAttributeFalse/basic-2.toml index 95781c306..f94770528 100644 --- a/tests/api-output/parseWaitForAttributeFalse/basic-2.toml +++ b/tests/api-output/parseWaitForAttributeFalse/basic-2.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttributeFalse/basic-3.toml b/tests/api-output/parseWaitForAttributeFalse/basic-3.toml index cb5d4800e..e1f4addd6 100644 --- a/tests/api-output/parseWaitForAttributeFalse/basic-3.toml +++ b/tests/api-output/parseWaitForAttributeFalse/basic-3.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttributeFalse/color-1.toml b/tests/api-output/parseWaitForAttributeFalse/color-1.toml index 90232a601..f71995743 100644 --- a/tests/api-output/parseWaitForAttributeFalse/color-1.toml +++ b/tests/api-output/parseWaitForAttributeFalse/color-1.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttributeFalse/extra-1.toml b/tests/api-output/parseWaitForAttributeFalse/extra-1.toml index a089a6627..425d888ae 100644 --- a/tests/api-output/parseWaitForAttributeFalse/extra-1.toml +++ b/tests/api-output/parseWaitForAttributeFalse/extra-1.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttributeFalse/null-1.toml b/tests/api-output/parseWaitForAttributeFalse/null-1.toml index d3b39b74e..73beefa82 100644 --- a/tests/api-output/parseWaitForAttributeFalse/null-1.toml +++ b/tests/api-output/parseWaitForAttributeFalse/null-1.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttributeFalse/pseudo-1.toml b/tests/api-output/parseWaitForAttributeFalse/pseudo-1.toml index c89b30533..fae654e08 100644 --- a/tests/api-output/parseWaitForAttributeFalse/pseudo-1.toml +++ b/tests/api-output/parseWaitForAttributeFalse/pseudo-1.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttributeFalse/xpath-2.toml b/tests/api-output/parseWaitForAttributeFalse/xpath-2.toml index 305f53565..1f270432c 100644 --- a/tests/api-output/parseWaitForAttributeFalse/xpath-2.toml +++ b/tests/api-output/parseWaitForAttributeFalse/xpath-2.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForAttributeFalse/xpath-3.toml b/tests/api-output/parseWaitForAttributeFalse/xpath-3.toml index acc06d9a6..271e63c8d 100644 --- a/tests/api-output/parseWaitForAttributeFalse/xpath-3.toml +++ b/tests/api-output/parseWaitForAttributeFalse/xpath-3.toml @@ -17,7 +17,7 @@ instructions = [ continue; } const attr = e.getAttribute(parseWaitForAttrKey); - if (attr !== parseWaitForAttrValue) { + if (attr != parseWaitForAttrValue) { nonMatchingAttrs.push(\"expected `\" + parseWaitForAttrValue + \"` for attribute `\" + parseWaitForAttrKey + \"`, found `\" + attr + \"`\"); } } diff --git a/tests/api-output/parseWaitForClipboard/basic-1.toml b/tests/api-output/parseWaitForClipboard/basic-1.toml index 4d1a7c396..5610bbea1 100644 --- a/tests/api-output/parseWaitForClipboard/basic-1.toml +++ b/tests/api-output/parseWaitForClipboard/basic-1.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseWaitForClipboard/basic-2.toml b/tests/api-output/parseWaitForClipboard/basic-2.toml index 4d1a7c396..5610bbea1 100644 --- a/tests/api-output/parseWaitForClipboard/basic-2.toml +++ b/tests/api-output/parseWaitForClipboard/basic-2.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseWaitForClipboard/basic-3.toml b/tests/api-output/parseWaitForClipboard/basic-3.toml index ab62f1573..a48e8dda5 100644 --- a/tests/api-output/parseWaitForClipboard/basic-3.toml +++ b/tests/api-output/parseWaitForClipboard/basic-3.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseWaitForClipboard/basic-4.toml b/tests/api-output/parseWaitForClipboard/basic-4.toml index ab62f1573..a48e8dda5 100644 --- a/tests/api-output/parseWaitForClipboard/basic-4.toml +++ b/tests/api-output/parseWaitForClipboard/basic-4.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; diff --git a/tests/api-output/parseWaitForClipboardFalse/basic-1.toml b/tests/api-output/parseWaitForClipboardFalse/basic-1.toml index e276380ae..7be6b3874 100644 --- a/tests/api-output/parseWaitForClipboardFalse/basic-1.toml +++ b/tests/api-output/parseWaitForClipboardFalse/basic-1.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; @@ -25,7 +25,7 @@ while (true) { if (elemText === value) { errors.push(\"`\" + elemText + \"` is equal to `\" + value + \"`\"); } - if (errors.length !== 0) { + if (errors.length === 0) { break; } const err = errors.join(\", \"); diff --git a/tests/api-output/parseWaitForClipboardFalse/basic-2.toml b/tests/api-output/parseWaitForClipboardFalse/basic-2.toml index e276380ae..7be6b3874 100644 --- a/tests/api-output/parseWaitForClipboardFalse/basic-2.toml +++ b/tests/api-output/parseWaitForClipboardFalse/basic-2.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; @@ -25,7 +25,7 @@ while (true) { if (elemText === value) { errors.push(\"`\" + elemText + \"` is equal to `\" + value + \"`\"); } - if (errors.length !== 0) { + if (errors.length === 0) { break; } const err = errors.join(\", \"); diff --git a/tests/api-output/parseWaitForClipboardFalse/basic-3.toml b/tests/api-output/parseWaitForClipboardFalse/basic-3.toml index 877478cda..2fda307b9 100644 --- a/tests/api-output/parseWaitForClipboardFalse/basic-3.toml +++ b/tests/api-output/parseWaitForClipboardFalse/basic-3.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; @@ -25,7 +25,7 @@ while (true) { if (elemText.includes(value)) { errors.push(\"`\" + elemText + \"` contains `\" + value + \"` (for CONTAINS check)\"); } - if (errors.length !== 0) { + if (errors.length === 0) { break; } const err = errors.join(\", \"); diff --git a/tests/api-output/parseWaitForClipboardFalse/basic-4.toml b/tests/api-output/parseWaitForClipboardFalse/basic-4.toml index 877478cda..2fda307b9 100644 --- a/tests/api-output/parseWaitForClipboardFalse/basic-4.toml +++ b/tests/api-output/parseWaitForClipboardFalse/basic-4.toml @@ -6,7 +6,7 @@ instructions = [ } const tmp = document.createElement(\"div\"); tmp.id = \"created-by-browser-ui-test-to-get-clipboard-content-in-all-contexts\"; - tmp.style = \"height:2px;width:2px;position:static;\"; + tmp.style = \"height:2px;width:2px;position:static;z-index:1000000;left:0;top:0;\"; tmp.onclick = () => { tmp.clipboardContent = navigator.clipboard.readText(); }; @@ -25,7 +25,7 @@ while (true) { if (elemText.includes(value)) { errors.push(\"`\" + elemText + \"` contains `\" + value + \"` (for CONTAINS check)\"); } - if (errors.length !== 0) { + if (errors.length === 0) { break; } const err = errors.join(\", \"); diff --git a/tests/api-output/parseWaitForDocumentProperty/basic-3.toml b/tests/api-output/parseWaitForDocumentProperty/basic-3.toml index 5011c42f4..58d471462 100644 --- a/tests/api-output/parseWaitForDocumentProperty/basic-3.toml +++ b/tests/api-output/parseWaitForDocumentProperty/basic-3.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentProperty/basic-4.toml b/tests/api-output/parseWaitForDocumentProperty/basic-4.toml index 5011c42f4..58d471462 100644 --- a/tests/api-output/parseWaitForDocumentProperty/basic-4.toml +++ b/tests/api-output/parseWaitForDocumentProperty/basic-4.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentProperty/basic-6.toml b/tests/api-output/parseWaitForDocumentProperty/basic-6.toml index 88038b081..f1fe5d51c 100644 --- a/tests/api-output/parseWaitForDocumentProperty/basic-6.toml +++ b/tests/api-output/parseWaitForDocumentProperty/basic-6.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentProperty/basic-7.toml b/tests/api-output/parseWaitForDocumentProperty/basic-7.toml index 6c8279e66..41ea894b1 100644 --- a/tests/api-output/parseWaitForDocumentProperty/basic-7.toml +++ b/tests/api-output/parseWaitForDocumentProperty/basic-7.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentProperty/object-path-1.toml b/tests/api-output/parseWaitForDocumentProperty/object-path-1.toml index faaad8455..1256992a0 100644 --- a/tests/api-output/parseWaitForDocumentProperty/object-path-1.toml +++ b/tests/api-output/parseWaitForDocumentProperty/object-path-1.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentProperty/object-path-2.toml b/tests/api-output/parseWaitForDocumentProperty/object-path-2.toml index 708af85ca..b857c2c5b 100644 --- a/tests/api-output/parseWaitForDocumentProperty/object-path-2.toml +++ b/tests/api-output/parseWaitForDocumentProperty/object-path-2.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentPropertyFalse/basic-3.toml b/tests/api-output/parseWaitForDocumentPropertyFalse/basic-3.toml index 43793aec8..a1ea7e138 100644 --- a/tests/api-output/parseWaitForDocumentPropertyFalse/basic-3.toml +++ b/tests/api-output/parseWaitForDocumentPropertyFalse/basic-3.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentPropertyFalse/basic-4.toml b/tests/api-output/parseWaitForDocumentPropertyFalse/basic-4.toml index 43793aec8..a1ea7e138 100644 --- a/tests/api-output/parseWaitForDocumentPropertyFalse/basic-4.toml +++ b/tests/api-output/parseWaitForDocumentPropertyFalse/basic-4.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentPropertyFalse/basic-6.toml b/tests/api-output/parseWaitForDocumentPropertyFalse/basic-6.toml index 42a4c9600..02159af7e 100644 --- a/tests/api-output/parseWaitForDocumentPropertyFalse/basic-6.toml +++ b/tests/api-output/parseWaitForDocumentPropertyFalse/basic-6.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentPropertyFalse/basic-7.toml b/tests/api-output/parseWaitForDocumentPropertyFalse/basic-7.toml index ad06cca7b..b16347b08 100644 --- a/tests/api-output/parseWaitForDocumentPropertyFalse/basic-7.toml +++ b/tests/api-output/parseWaitForDocumentPropertyFalse/basic-7.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentPropertyFalse/object-path-1.toml b/tests/api-output/parseWaitForDocumentPropertyFalse/object-path-1.toml index 12db00b5c..0fa8dde31 100644 --- a/tests/api-output/parseWaitForDocumentPropertyFalse/object-path-1.toml +++ b/tests/api-output/parseWaitForDocumentPropertyFalse/object-path-1.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForDocumentPropertyFalse/object-path-2.toml b/tests/api-output/parseWaitForDocumentPropertyFalse/object-path-2.toml index 715c1eeb0..3f4c91b63 100644 --- a/tests/api-output/parseWaitForDocumentPropertyFalse/object-path-2.toml +++ b/tests/api-output/parseWaitForDocumentPropertyFalse/object-path-2.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for document property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForProperty/basic-1.toml b/tests/api-output/parseWaitForProperty/basic-1.toml index 55458164a..e8553ad8d 100644 --- a/tests/api-output/parseWaitForProperty/basic-1.toml +++ b/tests/api-output/parseWaitForProperty/basic-1.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForProperty/basic-2.toml b/tests/api-output/parseWaitForProperty/basic-2.toml index 6c36d2f5c..907df8c58 100644 --- a/tests/api-output/parseWaitForProperty/basic-2.toml +++ b/tests/api-output/parseWaitForProperty/basic-2.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForProperty/basic-3.toml b/tests/api-output/parseWaitForProperty/basic-3.toml index d2659ceda..ee0f5145a 100644 --- a/tests/api-output/parseWaitForProperty/basic-3.toml +++ b/tests/api-output/parseWaitForProperty/basic-3.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForProperty/color-1.toml b/tests/api-output/parseWaitForProperty/color-1.toml index 5634105eb..4f8aa57cc 100644 --- a/tests/api-output/parseWaitForProperty/color-1.toml +++ b/tests/api-output/parseWaitForProperty/color-1.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForProperty/extra-1.toml b/tests/api-output/parseWaitForProperty/extra-1.toml index 324bb79f1..60e6987a5 100644 --- a/tests/api-output/parseWaitForProperty/extra-1.toml +++ b/tests/api-output/parseWaitForProperty/extra-1.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForProperty/object-path-1.toml b/tests/api-output/parseWaitForProperty/object-path-1.toml index d12e51f5d..ec3082eb8 100644 --- a/tests/api-output/parseWaitForProperty/object-path-1.toml +++ b/tests/api-output/parseWaitForProperty/object-path-1.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForProperty/object-path-2.toml b/tests/api-output/parseWaitForProperty/object-path-2.toml index 3b52d082a..af4982c5d 100644 --- a/tests/api-output/parseWaitForProperty/object-path-2.toml +++ b/tests/api-output/parseWaitForProperty/object-path-2.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForProperty/pseudo-1.toml b/tests/api-output/parseWaitForProperty/pseudo-1.toml index a57a82dbe..70b652b59 100644 --- a/tests/api-output/parseWaitForProperty/pseudo-1.toml +++ b/tests/api-output/parseWaitForProperty/pseudo-1.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForProperty/xpath-2.toml b/tests/api-output/parseWaitForProperty/xpath-2.toml index d0aa794fe..54544f320 100644 --- a/tests/api-output/parseWaitForProperty/xpath-2.toml +++ b/tests/api-output/parseWaitForProperty/xpath-2.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForProperty/xpath-3.toml b/tests/api-output/parseWaitForProperty/xpath-3.toml index 72c67e601..f9a153768 100644 --- a/tests/api-output/parseWaitForProperty/xpath-3.toml +++ b/tests/api-output/parseWaitForProperty/xpath-3.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForPropertyFalse/basic-1.toml b/tests/api-output/parseWaitForPropertyFalse/basic-1.toml index 702eaa61e..4c51df923 100644 --- a/tests/api-output/parseWaitForPropertyFalse/basic-1.toml +++ b/tests/api-output/parseWaitForPropertyFalse/basic-1.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForPropertyFalse/basic-2.toml b/tests/api-output/parseWaitForPropertyFalse/basic-2.toml index 586b6ac4a..7e40c5749 100644 --- a/tests/api-output/parseWaitForPropertyFalse/basic-2.toml +++ b/tests/api-output/parseWaitForPropertyFalse/basic-2.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForPropertyFalse/basic-3.toml b/tests/api-output/parseWaitForPropertyFalse/basic-3.toml index fee118225..78d6e45a1 100644 --- a/tests/api-output/parseWaitForPropertyFalse/basic-3.toml +++ b/tests/api-output/parseWaitForPropertyFalse/basic-3.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForPropertyFalse/color-1.toml b/tests/api-output/parseWaitForPropertyFalse/color-1.toml index cdc468c4b..b3e8aa5d2 100644 --- a/tests/api-output/parseWaitForPropertyFalse/color-1.toml +++ b/tests/api-output/parseWaitForPropertyFalse/color-1.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForPropertyFalse/extra-1.toml b/tests/api-output/parseWaitForPropertyFalse/extra-1.toml index 19669d8b5..65a9afe41 100644 --- a/tests/api-output/parseWaitForPropertyFalse/extra-1.toml +++ b/tests/api-output/parseWaitForPropertyFalse/extra-1.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForPropertyFalse/object-path-1.toml b/tests/api-output/parseWaitForPropertyFalse/object-path-1.toml index c1a8640e7..30d586593 100644 --- a/tests/api-output/parseWaitForPropertyFalse/object-path-1.toml +++ b/tests/api-output/parseWaitForPropertyFalse/object-path-1.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForPropertyFalse/object-path-2.toml b/tests/api-output/parseWaitForPropertyFalse/object-path-2.toml index 7c1dab12e..a6b600739 100644 --- a/tests/api-output/parseWaitForPropertyFalse/object-path-2.toml +++ b/tests/api-output/parseWaitForPropertyFalse/object-path-2.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForPropertyFalse/pseudo-1.toml b/tests/api-output/parseWaitForPropertyFalse/pseudo-1.toml index 3dcdc82d3..6613f6990 100644 --- a/tests/api-output/parseWaitForPropertyFalse/pseudo-1.toml +++ b/tests/api-output/parseWaitForPropertyFalse/pseudo-1.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForPropertyFalse/xpath-2.toml b/tests/api-output/parseWaitForPropertyFalse/xpath-2.toml index 1d5c70a48..4db902e5b 100644 --- a/tests/api-output/parseWaitForPropertyFalse/xpath-2.toml +++ b/tests/api-output/parseWaitForPropertyFalse/xpath-2.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForPropertyFalse/xpath-3.toml b/tests/api-output/parseWaitForPropertyFalse/xpath-3.toml index 116de696a..e28132db0 100644 --- a/tests/api-output/parseWaitForPropertyFalse/xpath-3.toml +++ b/tests/api-output/parseWaitForPropertyFalse/xpath-3.toml @@ -35,7 +35,7 @@ instructions = [ nonMatchingProps.push(\"Property `\" + p + \"` doesn't exist\"); return; } - if (val !== parseWaitForPropValue) { + if (val != parseWaitForPropValue) { nonMatchingProps.push(\"expected `\" + parseWaitForPropValue + \"` for property `\" + parseWaitForPropKey + \"`, found `\" + val + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowProperty/basic-3.toml b/tests/api-output/parseWaitForWindowProperty/basic-3.toml index 5e04bb05a..972628629 100644 --- a/tests/api-output/parseWaitForWindowProperty/basic-3.toml +++ b/tests/api-output/parseWaitForWindowProperty/basic-3.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowProperty/basic-4.toml b/tests/api-output/parseWaitForWindowProperty/basic-4.toml index 5e04bb05a..972628629 100644 --- a/tests/api-output/parseWaitForWindowProperty/basic-4.toml +++ b/tests/api-output/parseWaitForWindowProperty/basic-4.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowProperty/basic-6.toml b/tests/api-output/parseWaitForWindowProperty/basic-6.toml index c5b5d6d22..4df66949f 100644 --- a/tests/api-output/parseWaitForWindowProperty/basic-6.toml +++ b/tests/api-output/parseWaitForWindowProperty/basic-6.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowProperty/basic-7.toml b/tests/api-output/parseWaitForWindowProperty/basic-7.toml index 345ffc25b..3def22467 100644 --- a/tests/api-output/parseWaitForWindowProperty/basic-7.toml +++ b/tests/api-output/parseWaitForWindowProperty/basic-7.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowProperty/object-path-1.toml b/tests/api-output/parseWaitForWindowProperty/object-path-1.toml index ecfc1b5bb..026648042 100644 --- a/tests/api-output/parseWaitForWindowProperty/object-path-1.toml +++ b/tests/api-output/parseWaitForWindowProperty/object-path-1.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowProperty/object-path-2.toml b/tests/api-output/parseWaitForWindowProperty/object-path-2.toml index d34a13cc3..611bf6157 100644 --- a/tests/api-output/parseWaitForWindowProperty/object-path-2.toml +++ b/tests/api-output/parseWaitForWindowProperty/object-path-2.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowPropertyFalse/basic-3.toml b/tests/api-output/parseWaitForWindowPropertyFalse/basic-3.toml index 9345c5496..de22091b6 100644 --- a/tests/api-output/parseWaitForWindowPropertyFalse/basic-3.toml +++ b/tests/api-output/parseWaitForWindowPropertyFalse/basic-3.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowPropertyFalse/basic-4.toml b/tests/api-output/parseWaitForWindowPropertyFalse/basic-4.toml index 9345c5496..de22091b6 100644 --- a/tests/api-output/parseWaitForWindowPropertyFalse/basic-4.toml +++ b/tests/api-output/parseWaitForWindowPropertyFalse/basic-4.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowPropertyFalse/basic-6.toml b/tests/api-output/parseWaitForWindowPropertyFalse/basic-6.toml index a22d9652a..3d95a89a9 100644 --- a/tests/api-output/parseWaitForWindowPropertyFalse/basic-6.toml +++ b/tests/api-output/parseWaitForWindowPropertyFalse/basic-6.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowPropertyFalse/basic-7.toml b/tests/api-output/parseWaitForWindowPropertyFalse/basic-7.toml index e1dda8b39..6e2c673a8 100644 --- a/tests/api-output/parseWaitForWindowPropertyFalse/basic-7.toml +++ b/tests/api-output/parseWaitForWindowPropertyFalse/basic-7.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowPropertyFalse/object-path-1.toml b/tests/api-output/parseWaitForWindowPropertyFalse/object-path-1.toml index 050a8ce4b..0a8326d16 100644 --- a/tests/api-output/parseWaitForWindowPropertyFalse/object-path-1.toml +++ b/tests/api-output/parseWaitForWindowPropertyFalse/object-path-1.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/api-output/parseWaitForWindowPropertyFalse/object-path-2.toml b/tests/api-output/parseWaitForWindowPropertyFalse/object-path-2.toml index a3b8d9743..7b1f5b939 100644 --- a/tests/api-output/parseWaitForWindowPropertyFalse/object-path-2.toml +++ b/tests/api-output/parseWaitForWindowPropertyFalse/object-path-2.toml @@ -38,7 +38,7 @@ while (true) { return; } const property = String(val); - if (property !== propertyValue) { + if (property != propertyValue) { errors.push(\"expected `\" + propertyValue + \"` for window property `\" + propertyKey + \"`, found `\" + property + \"`\"); } }, _notFound => { diff --git a/tests/ui/wait-for-property-3.goml b/tests/ui/wait-for-property-3.goml index 1dce2dc81..10f934059 100644 --- a/tests/ui/wait-for-property-3.goml +++ b/tests/ui/wait-for-property-3.goml @@ -3,4 +3,4 @@ go-to: "file://" + |CURRENT_DIR| + "/" + |DOC_PATH| + "/elements.html" set-timeout: 500 // Try a property with a different type. // This should give a failure, not an internal error. -wait-for-property: ("html", {"offsetLeft": "0"}) +wait-for-property: ("html", {"offsetLeft": "a"}) diff --git a/tests/ui/wait-for-property-3.output b/tests/ui/wait-for-property-3.output index b35a80735..22200ffda 100644 --- a/tests/ui/wait-for-property-3.output +++ b/tests/ui/wait-for-property-3.output @@ -1,7 +1,7 @@ => Starting doc-ui tests... wait-for-property-3... FAILED -[ERROR] `tests/ui/wait-for-property-3.goml` line 6: Error: The following properties still don't match: [expected `0` for property `offsetLeft`, found `0`]: for command `wait-for-property: ("html", {"offsetLeft": "0"})` +[ERROR] `tests/ui/wait-for-property-3.goml` line 6: Error: The following properties still don't match: [expected `a` for property `offsetLeft`, found `0`]: for command `wait-for-property: ("html", {"offsetLeft": "a"})` <= doc-ui tests done: 0 succeeded, 1 failed \ No newline at end of file diff --git a/tests/ui/wait-for-property.goml b/tests/ui/wait-for-property.goml index c187117fa..7e099d6db 100644 --- a/tests/ui/wait-for-property.goml +++ b/tests/ui/wait-for-property.goml @@ -21,9 +21,3 @@ wait-for-property: ("#js-wait-prop2", {"toto"."z": 78}) wait-for-property: ("#js-wait-prop", {"data-a": "c"}) // Check that the script won't run anything after the previous command failed. assert-property: ("#js-wait-prop", {"data-a": "c"}) - -// object-path -assert-property: ("#js-wait-prop2", {"toto"."z": null}) -click: "#js-create-elem2" -// Should wait for 100ms here. -wait-for-property: ("#js-wait-prop2", {"toto"."z": 78}) diff --git a/tests/ui/wait-for-property.output b/tests/ui/wait-for-property.output index 18fc28809..cebba30e5 100644 --- a/tests/ui/wait-for-property.output +++ b/tests/ui/wait-for-property.output @@ -1,7 +1,7 @@ => Starting doc-ui tests... wait-for-property... FAILED -[ERROR] `tests/ui/wait-for-property.goml` line 18: Error: The following properties still don't match: [expected `78` for property `toto,z`, found `78`]: for command `wait-for-property: ("#js-wait-prop2", {"toto"."z": 78})` +[ERROR] `tests/ui/wait-for-property.goml` line 21: Error: The following properties still don't match: [Property `"data-a"` doesn't exist]: for command `wait-for-property: ("#js-wait-prop", {"data-a": "c"})` <= doc-ui tests done: 0 succeeded, 1 failed \ No newline at end of file