rustdoc: adjust test to cope with slightly different scrolling behaviour

This commit is contained in:
Michael Howell 2022-09-21 16:44:33 -07:00
parent f66769fe8d
commit 8b4c0d90dc

View File

@ -10,7 +10,7 @@ assert-property: ("html", {"scrollTop": "0"})
click: '//a[text() = "barbar"]'
assert-property: ("html", {"scrollTop": "125"})
click: '//a[text() = "bar"]'
assert-property: ("html", {"scrollTop": "166"})
assert-property: ("html", {"scrollTop": "156"})
click: '//a[text() = "sub_fn"]'
assert-property: ("html", {"scrollTop": "53"})