Update rustdoc GUI tests to new browser-ui-test version
This commit is contained in:
parent
8aba3f3264
commit
010fa00b80
104 changed files with 308 additions and 308 deletions
|
@ -1,7 +1,7 @@
|
|||
// This test ensures that the "item-info" elements don't overflow.
|
||||
goto: "file://" + |DOC_PATH| + "/lib2/struct.LongItemInfo.html"
|
||||
go-to: "file://" + |DOC_PATH| + "/lib2/struct.LongItemInfo.html"
|
||||
// We set a fixed size so there is no chance of "random" resize.
|
||||
size: (1200, 870)
|
||||
set-window-size: (1200, 870)
|
||||
// Logically, the "item-decl" and the "item-info" should have the same scroll width.
|
||||
compare-elements-property: (".item-decl", ".item-info", ["scrollWidth"])
|
||||
assert-property: (".item-info", {"scrollWidth": "940"})
|
||||
|
@ -13,7 +13,7 @@ assert-text: (
|
|||
)
|
||||
|
||||
// Checking the "item-info" on an impl block as well:
|
||||
goto: "file://" + |DOC_PATH| + "/lib2/struct.LongItemInfo2.html"
|
||||
go-to: "file://" + |DOC_PATH| + "/lib2/struct.LongItemInfo2.html"
|
||||
compare-elements-property: (
|
||||
"#impl-SimpleTrait-for-LongItemInfo2 .item-info",
|
||||
"#impl-SimpleTrait-for-LongItemInfo2 + .docblock",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue