Update rustdoc GUI tests to new browser-ui-test version

This commit is contained in:
Guillaume Gomez 2023-04-11 19:11:34 +02:00
parent 8aba3f3264
commit 010fa00b80
104 changed files with 308 additions and 308 deletions

View file

@ -1,6 +1,6 @@
// Checks that the scrollbar is visible on the page rather than the code block.
goto: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
size: (800, 1000)
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": 1047, "clientWidth": 800})