about summary refs log tree commit diff
path: root/tests/rustdoc-gui/sidebar.goml
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2025-09-02 11:41:21 -0500
committerbinarycat <binarycat@envs.net>2025-10-02 15:28:00 -0500
commit2dd00d3391b82dd0928f50589eb37f6fbbe32980 (patch)
tree0320eed93f5aa1940b88f16d3cdbbb13fdf627de /tests/rustdoc-gui/sidebar.goml
parentc407d340de1717a88537725c899c153c6fdda051 (diff)
downloadrust-2dd00d3391b82dd0928f50589eb37f6fbbe32980.tar.gz
rust-2dd00d3391b82dd0928f50589eb37f6fbbe32980.zip
fix rustdoc tests broke by trait item filtering
Diffstat (limited to 'tests/rustdoc-gui/sidebar.goml')
-rw-r--r--tests/rustdoc-gui/sidebar.goml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/sidebar.goml b/tests/rustdoc-gui/sidebar.goml
index 5ec0008ad8a..0d371c8c6a4 100644
--- a/tests/rustdoc-gui/sidebar.goml
+++ b/tests/rustdoc-gui/sidebar.goml
@@ -1,5 +1,7 @@
 // Checks multiple things on the sidebar display (width of its elements, colors, etc).
 include: "utils.goml"
+// Disable animations so they don't mess up color assertions later.
+emulate-media-features: { "prefers-reduced-motion": "reduce" }
 go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
 assert-property: (".sidebar", {"clientWidth": "199"})
 show-text: true