diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-10-26 00:20:31 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-12-05 22:50:21 +0100 |
| commit | abcd094c5174cf25f3de1879c57b4c69c7fe4a94 (patch) | |
| tree | 22e4f91530910e5fa4efd2cd1922ffbd2fce3012 | |
| parent | 5d26accecdeb623a7843c4204439fb86ee07fab5 (diff) | |
| download | rust-abcd094c5174cf25f3de1879c57b4c69c7fe4a94.tar.gz rust-abcd094c5174cf25f3de1879c57b4c69c7fe4a94.zip | |
Update GUI tests
| -rw-r--r-- | tests/rustdoc-gui/impl-doc.goml | 2 | ||||
| -rw-r--r-- | tests/rustdoc-gui/item-info-overflow.goml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/impl-doc.goml b/tests/rustdoc-gui/impl-doc.goml index 4ec46de404f..1845255178a 100644 --- a/tests/rustdoc-gui/impl-doc.goml +++ b/tests/rustdoc-gui/impl-doc.goml @@ -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} ) diff --git a/tests/rustdoc-gui/item-info-overflow.goml b/tests/rustdoc-gui/item-info-overflow.goml index 23c53c03762..c325beb6d06 100644 --- a/tests/rustdoc-gui/item-info-overflow.goml +++ b/tests/rustdoc-gui/item-info-overflow.goml @@ -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: ( |
