fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// Checks that the scrollbar is visible on the page rather than the code block. 2go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html" 3set-window-size: (800, 1000) 4// "scrollWidth" should be superior than "clientWidth". 5assert-property: ("body", {"scrollWidth": 1047, "clientWidth": 800}) 6 7// Both properties should be equal (ie, no scroll on the code block). 8assert-property: (".example-wrap .rust", {"scrollWidth": 933, "clientWidth": 933})