@@ -7,15 +7,21 @@ size: (786, 600)
77// Confirms that there 3 paragraphs.
88assert-count: (".top-doc .docblock p", 3)
99// Checking that there is no scrollable content.
10+ store-property: (clientHeight, ".top-doc .docblock p:nth-of-type(1)", "clientHeight")
11+ store-property: (clientWidth, ".top-doc .docblock p:nth-of-type(1)", "clientWidth")
1012assert-property: (
1113 ".top-doc .docblock p:nth-of-type(1)",
12- {"scrollHeight": "120", " clientHeight": "120" , "scrollWidth": "502", " clientWidth": "502" },
14+ {"scrollHeight": | clientHeight| , "scrollWidth": | clientWidth| },
1315)
16+ store-property: (clientHeight, ".top-doc .docblock p:nth-of-type(2)", "clientHeight")
17+ store-property: (clientWidth, ".top-doc .docblock p:nth-of-type(2)", "clientWidth")
1418assert-property: (
1519 ".top-doc .docblock p:nth-of-type(2)",
16- {"scrollHeight": "48", " clientHeight": "48" , "scrollWidth": "502", " clientWidth": "502" },
20+ {"scrollHeight": | clientHeight| , "scrollWidth": | clientWidth| },
1721)
22+ store-property: (clientHeight, ".top-doc .docblock p:nth-of-type(3)", "clientHeight")
23+ store-property: (clientWidth, ".top-doc .docblock p:nth-of-type(3)", "clientWidth")
1824assert-property: (
1925 ".top-doc .docblock p:nth-of-type(3)",
20- {"scrollHeight": "48", " clientHeight": "48" , "scrollWidth": "502", " clientWidth": "502" },
26+ {"scrollHeight": | clientHeight| , "scrollWidth": | clientWidth| },
2127)
0 commit comments