-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7eb95cd
commit dfc8b60
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
goto: file://|DOC_PATH|/test_docs/struct.Foo.html | ||
size: (433, 600) | ||
assert: (".top-doc", "open", "") | ||
click: (4, 280) // This is the position of the top doc comment toggle | ||
assert-false: (".top-doc", "open", "") | ||
click: (4, 280) | ||
assert: (".top-doc", "open", "") | ||
// To ensure that the toggle isn't over the text, we check that the toggle isn't clicked. | ||
click: (3, 280) | ||
assert: (".top-doc", "open", "") | ||
|
||
// Now we do the same but with a little bigger width | ||
size: (600, 600) | ||
assert: (".top-doc", "open", "") | ||
click: (4, 240) // New Y position since all search elements are back on one line. | ||
assert-false: (".top-doc", "open", "") | ||
click: (4, 240) | ||
assert: (".top-doc", "open", "") | ||
// To ensure that the toggle isn't over the text, we check that the toggle isn't clicked. | ||
click: (3, 240) | ||
assert: (".top-doc", "open", "") |