Skip to content

Commit

Permalink
Update GUI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Oct 25, 2024
1 parent 0bcd3cc commit 890fc0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/rustdoc-gui/impl-doc.goml
Original file line number Diff line number Diff line change
Expand Up @@ -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
compare-elements-position-near-false: (
"#implementations-list > .implementors-toggle > .docblock > p",
"#implementations-list > .implementors-toggle .docblock > p",
"#implementations-list > .implementors-toggle > .impl-items",
{"y": 24}
)
2 changes: 1 addition & 1 deletion tests/rustdoc-gui/item-info-overflow.goml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ assert-text: (
go-to: "file://" + |DOC_PATH| + "/lib2/struct.LongItemInfo2.html"
compare-elements-property: (
"#impl-SimpleTrait-for-LongItemInfo2 .item-info",
"#impl-SimpleTrait-for-LongItemInfo2 + .docblock",
"#impl-SimpleTrait-for-LongItemInfo2 .docblock",
["scrollWidth"],
)
assert-property: (
Expand Down

0 comments on commit 890fc0d

Please sign in to comment.