diff options
| author | binarycat <binarycat@envs.net> | 2025-09-02 11:41:21 -0500 |
|---|---|---|
| committer | binarycat <binarycat@envs.net> | 2025-10-02 15:28:00 -0500 |
| commit | 2dd00d3391b82dd0928f50589eb37f6fbbe32980 (patch) | |
| tree | 0320eed93f5aa1940b88f16d3cdbbb13fdf627de /tests/rustdoc-gui/sidebar.goml | |
| parent | c407d340de1717a88537725c899c153c6fdda051 (diff) | |
| download | rust-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.goml | 2 |
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 |
