@@ -7,15 +7,21 @@ size: (786, 600)
7
7
// Confirms that there 3 paragraphs.
8
8
assert-count: (".top-doc .docblock p", 3)
9
9
// 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")
10
12
assert-property: (
11
13
".top-doc .docblock p:nth-of-type(1)",
12
- {"scrollHeight": "120", " clientHeight": "120" , "scrollWidth": "502", " clientWidth": "502" },
14
+ {"scrollHeight": | clientHeight| , "scrollWidth": | clientWidth| },
13
15
)
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")
14
18
assert-property: (
15
19
".top-doc .docblock p:nth-of-type(2)",
16
- {"scrollHeight": "48", " clientHeight": "48" , "scrollWidth": "502", " clientWidth": "502" },
20
+ {"scrollHeight": | clientHeight| , "scrollWidth": | clientWidth| },
17
21
)
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")
18
24
assert-property: (
19
25
".top-doc .docblock p:nth-of-type(3)",
20
- {"scrollHeight": "48", " clientHeight": "48" , "scrollWidth": "502", " clientWidth": "502" },
26
+ {"scrollHeight": | clientHeight| , "scrollWidth": | clientWidth| },
21
27
)
0 commit comments