@@ -7,20 +7,26 @@ set-window-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
+ store-property: (".top-doc .docblock p:nth-of-type(1)", {
11
+ "clientHeight": clientHeight,
12
+ "clientWidth": clientWidth,
13
+ })
12
14
assert-property: (
13
15
".top-doc .docblock p:nth-of-type(1)",
14
16
{"scrollHeight": |clientHeight|, "scrollWidth": |clientWidth|},
15
17
)
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")
18
+ store-property: (".top-doc .docblock p:nth-of-type(2)", {
19
+ "clientHeight": clientHeight,
20
+ "clientWidth": clientWidth,
21
+ })
18
22
assert-property: (
19
23
".top-doc .docblock p:nth-of-type(2)",
20
24
{"scrollHeight": |clientHeight|, "scrollWidth": |clientWidth|},
21
25
)
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")
26
+ store-property: (".top-doc .docblock p:nth-of-type(3)", {
27
+ "clientHeight": clientHeight,
28
+ "clientWidth": clientWidth,
29
+ })
24
30
assert-property: (
25
31
".top-doc .docblock p:nth-of-type(3)",
26
32
{"scrollHeight": |clientHeight|, "scrollWidth": |clientWidth|},
0 commit comments