File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,24 +8,24 @@ focus: ".scraped-example-list > .scraped-example .next"
8
8
press-key: "Enter"
9
9
assert-property-false: (".scraped-example-list > .scraped-example pre", {
10
10
"scrollTop": |initialScrollTop|
11
- })
11
+ }, NEAR )
12
12
focus: ".scraped-example-list > .scraped-example .prev"
13
13
press-key: "Enter"
14
14
assert-property: (".scraped-example-list > .scraped-example pre", {
15
15
"scrollTop": |initialScrollTop|
16
- })
16
+ }, NEAR )
17
17
18
18
// The expand button increases the scrollHeight of the minimized code viewport
19
19
store-property: (smallOffsetHeight, ".scraped-example-list > .scraped-example pre", "offsetHeight")
20
20
assert-property-false: (".scraped-example-list > .scraped-example pre", {
21
21
"scrollHeight": |smallOffsetHeight|
22
- })
22
+ }, NEAR )
23
23
focus: ".scraped-example-list > .scraped-example .expand"
24
24
press-key: "Enter"
25
25
assert-property-false: (".scraped-example-list > .scraped-example pre", {
26
26
"offsetHeight": |smallOffsetHeight|
27
- })
27
+ }, NEAR )
28
28
store-property: (fullOffsetHeight, ".scraped-example-list > .scraped-example pre", "offsetHeight")
29
29
assert-property: (".scraped-example-list > .scraped-example pre", {
30
30
"scrollHeight": |fullOffsetHeight|
31
- })
31
+ }, NEAR )
You can’t perform that action at this time.
0 commit comments