add compiletest headers to rustdoc-gui tests
This commit is contained in:
parent
6a347322a9
commit
02ea750f0b
4 changed files with 7 additions and 4 deletions
|
@ -8,13 +8,13 @@ set-window-size: (600, 800)
|
|||
assert-property: ("html", {"scrollTop": "0"})
|
||||
|
||||
click: '//a[text() = "barbar"]'
|
||||
assert-property: ("html", {"scrollTop": "125"})
|
||||
assert-property: ("html", {"scrollTop": "149"})
|
||||
click: '//a[text() = "bar"]'
|
||||
assert-property: ("html", {"scrollTop": "156"})
|
||||
assert-property: ("html", {"scrollTop": "180"})
|
||||
click: '//a[text() = "sub_fn"]'
|
||||
assert-property: ("html", {"scrollTop": "53"})
|
||||
assert-property: ("html", {"scrollTop": "77"})
|
||||
|
||||
// We now check that clicking on lines doesn't change the scroll
|
||||
// Extra information: the "sub_fn" function header is on line 1.
|
||||
click: '//*[@id="6"]'
|
||||
assert-property: ("html", {"scrollTop": "53"})
|
||||
assert-property: ("html", {"scrollTop": "77"})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue