1
Fork 0

Update rustdoc tests

This commit is contained in:
Guillaume Gomez 2025-02-07 17:50:14 +01:00
parent 0395fc2242
commit 673fd23dff
10 changed files with 72 additions and 156 deletions

View file

@ -2,7 +2,7 @@
go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
set-window-size: (800, 1000)
// "scrollWidth" should be superior than "clientWidth".
assert-property: ("body", {"scrollWidth": 1776, "clientWidth": 800})
assert-property: ("body", {"scrollWidth": 1780, "clientWidth": 800})
// Both properties should be equal (ie, no scroll on the code block).
assert-property: (".example-wrap .rust", {"scrollWidth": 1662, "clientWidth": 1662})
assert-property: (".example-wrap .rust", {"scrollWidth": 1715, "clientWidth": 1715})