@@ -14,7 +14,7 @@ assert-attribute: (".top-doc", {"open": ""})
14
14
// Assert the position of the toggle on the top doc block.
15
15
assert-position: (".top-doc summary::before", {"x": 4})
16
16
// Assert the position of the toggle on the impl block.
17
- assert-position: ("#implementations-list > details > summary::before", {"x": 4 })
17
+ assert-position: ("#implementations-list > details > summary::before", {"x": 11 })
18
18
// Assert the position of the toggle on a method.
19
19
assert-position: (
20
20
"#trait-implementations-list .impl-items .method-toggle > summary::before",
@@ -24,10 +24,10 @@ assert-position: (
24
24
// Now we do the same but with a little bigger width
25
25
set-window-size: (600, 600)
26
26
assert-attribute: (".top-doc", {"open": ""})
27
- click: (4 , 270) // New Y position since all search elements are back on one line.
27
+ click: (30 , 270) // New Y position since all search elements are back on one line.
28
28
assert-attribute-false: (".top-doc", {"open": ""})
29
- click: (4 , 270)
29
+ click: (30 , 270)
30
30
assert-attribute: (".top-doc", {"open": ""})
31
31
// To ensure that the toggle isn't over the text, we check that the toggle isn't clicked.
32
- click: (3 , 270)
32
+ click: (31 , 270)
33
33
assert-attribute: (".top-doc", {"open": ""})
0 commit comments