about summary refs log tree commit diff
path: root/src/test/rustdoc-gui/cursor.goml
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-12-22 15:52:34 -0700
committerMichael Howell <michael@notriddle.com>2022-12-22 18:01:46 -0700
commitd60309b311fc2290cd197880b79be1c3a91266c1 (patch)
tree9ecaee58afa68a8a346efe84840bff457f9ad537 /src/test/rustdoc-gui/cursor.goml
parent8a97b4812a7a46bb5206487c2455b9c5bfcbd1b9 (diff)
downloadrust-d60309b311fc2290cd197880b79be1c3a91266c1.tar.gz
rust-d60309b311fc2290cd197880b79be1c3a91266c1.zip
rustdoc: use a more evocative name for CSS/JS `#titles`
This renames the ID, which is only used in search results, to
`#search-tabs`. Also changes the `.count` to a span, so it doesn't need its
display mode to be overridden.
Diffstat (limited to 'src/test/rustdoc-gui/cursor.goml')
-rw-r--r--src/test/rustdoc-gui/cursor.goml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc-gui/cursor.goml b/src/test/rustdoc-gui/cursor.goml
index cb6716a76f5..59b1397970b 100644
--- a/src/test/rustdoc-gui/cursor.goml
+++ b/src/test/rustdoc-gui/cursor.goml
@@ -12,8 +12,8 @@ write: (".search-input", "Foo")
 // To be SURE that the search will be run.
 press-key: 'Enter'
 // Waiting for the search results to appear...
-wait-for: "#titles"
-assert-css: ("#titles > button", {"cursor": "pointer"})
+wait-for: "#search-tabs"
+assert-css: ("#search-tabs > button", {"cursor": "pointer"})
 
 // mobile sidebar toggle button
 size: (500, 700)