1 goto: file://|DOC_PATH|/test_docs/struct.Foo.html
3 assert: (".top-doc", "open", "")
4 click: (4, 280) // This is the position of the top doc comment toggle
5 assert-false: (".top-doc", "open", "")
7 assert: (".top-doc", "open", "")
8 // To ensure that the toggle isn't over the text, we check that the toggle isn't clicked.
10 assert: (".top-doc", "open", "")
12 // Now we do the same but with a little bigger width
14 assert: (".top-doc", "open", "")
15 click: (4, 240) // New Y position since all search elements are back on one line.
16 assert-false: (".top-doc", "open", "")
18 assert: (".top-doc", "open", "")
19 // To ensure that the toggle isn't over the text, we check that the toggle isn't clicked.
21 assert: (".top-doc", "open", "")