Update GUI tests

This commit is contained in:
Guillaume Gomez
2024-10-26 00:20:31 +02:00
parent 5d26accecd
commit abcd094c51
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ go-to: "file://" + |DOC_PATH| + "/test_docs/struct.TypeWithImplDoc.html"
// The text is about 24px tall, so if there's a margin, then their position will be >24px apart // The text is about 24px tall, so if there's a margin, then their position will be >24px apart
compare-elements-position-near-false: ( compare-elements-position-near-false: (
"#implementations-list > .implementors-toggle > .docblock > p", "#implementations-list > .implementors-toggle .docblock > p",
"#implementations-list > .implementors-toggle > .impl-items", "#implementations-list > .implementors-toggle > .impl-items",
{"y": 24} {"y": 24}
) )

View File

@@ -16,7 +16,7 @@ assert-text: (
go-to: "file://" + |DOC_PATH| + "/lib2/struct.LongItemInfo2.html" go-to: "file://" + |DOC_PATH| + "/lib2/struct.LongItemInfo2.html"
compare-elements-property: ( compare-elements-property: (
"#impl-SimpleTrait-for-LongItemInfo2 .item-info", "#impl-SimpleTrait-for-LongItemInfo2 .item-info",
"#impl-SimpleTrait-for-LongItemInfo2 + .docblock", "#impl-SimpleTrait-for-LongItemInfo2 .docblock",
["scrollWidth"], ["scrollWidth"],
) )
assert-property: ( assert-property: (