Update rustdoc tests
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
go-to: "file://" + |DOC_PATH| + "/test_docs/huge_amount_of_consts/index.html"
|
||||
|
||||
compare-elements-position-near-false: (
|
||||
"//ul[@class='item-table']/li[last()-1]",
|
||||
"//ul[@class='item-table']/li[last()-3]",
|
||||
"//dl[@class='item-table']/dt[last()-1]",
|
||||
"//dl[@class='item-table']/dt[last()-3]",
|
||||
{"y": 12},
|
||||
)
|
||||
|
||||
@@ -3,9 +3,9 @@ go-to: "file://" + |DOC_PATH| + "/test_docs/short_docs/index.html"
|
||||
set-window-size: (1000, 600)
|
||||
|
||||
// First we ensure that there is only one `item-table`...
|
||||
assert-count: ("ul.item-table", 1)
|
||||
assert-count: ("dl.item-table", 1)
|
||||
// And only two items in it.
|
||||
assert-count: ("ul.item-table li", 2)
|
||||
assert-count: ("dl.item-table dt", 2)
|
||||
|
||||
// If they don't have the same height, then it means one of the two is on two lines whereas it
|
||||
// shouldn't!
|
||||
@@ -18,6 +18,6 @@ compare-elements-size: (
|
||||
// We also check that the `item-table` is taking the full width.
|
||||
compare-elements-size: (
|
||||
"#functions",
|
||||
"ul.item-table",
|
||||
"dl.item-table",
|
||||
["width"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user