@@ -14,7 +14,7 @@ assert-attribute: (".top-doc", {"open": ""})
1414// Assert the position of the toggle on the top doc block.
1515assert-position: (".top-doc summary::before", {"x": 4})
1616// 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 })
1818// Assert the position of the toggle on a method.
1919assert-position: (
2020 "#trait-implementations-list .impl-items .method-toggle > summary::before",
@@ -24,10 +24,10 @@ assert-position: (
2424// Now we do the same but with a little bigger width
2525set-window-size: (600, 600)
2626assert-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.
2828assert-attribute-false: (".top-doc", {"open": ""})
29- click: (4 , 270)
29+ click: (30 , 270)
3030assert-attribute: (".top-doc", {"open": ""})
3131// 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)
3333assert-attribute: (".top-doc", {"open": ""})
0 commit comments