File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ goto: file://|DOC_PATH|/test_docs/struct.Foo.html
2+ size: (433, 600)
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", "")
6+ click: (4, 280)
7+ assert: (".top-doc", "open", "")
8+ // To ensure that the toggle isn't over the text, we check that the toggle isn't clicked.
9+ click: (3, 280)
10+ assert: (".top-doc", "open", "")
11+
12+ // Now we do the same but with a little bigger width
13+ size: (600, 600)
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", "")
17+ click: (4, 240)
18+ assert: (".top-doc", "open", "")
19+ // To ensure that the toggle isn't over the text, we check that the toggle isn't clicked.
20+ click: (3, 240)
21+ assert: (".top-doc", "open", "")
You can’t perform that action at this time.
0 commit comments