We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad3c5a3 commit 015f5d6Copy full SHA for 015f5d6
tests/rustdoc-gui/search-title.goml
@@ -0,0 +1,24 @@
1
+// Checks that the search changes the title
2
+include: "utils.goml"
3
+go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
4
+
5
+store-value: (title, "test_docs - Rust")
6
+assert-document-property: {"title": |title|}
7
8
+write-into: (".search-input", "test")
9
+// To be SURE that the search will be run.
10
+press-key: 'Enter'
11
+wait-for: "#crate-search"
12
13
+assert-document-property: {"title": '"test" Search - Rust'}
14
15
+set-property: (".search-input", {"value": "another one"})
16
17
18
19
20
+assert-document-property: {"title": '"another one" Search - Rust'}
21
22
+press-key: "Escape"
23
24
0 commit comments