File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 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+ // To be SURE that the search will be run.
17+ press-key: 'Enter'
18+ wait-for: "#crate-search"
19+
20+ assert-document-property: {"title": '"another one" Search - Rust'}
21+
22+ press-key: "Escape"
23+
24+ assert-document-property: {"title": |title|}
You can’t perform that action at this time.
0 commit comments