@@ -5,70 +5,70 @@ write: (".search-input", "Foo")
55// To be SURE that the search will be run.
66press-key: 'Enter'
77// Waiting for the search results to appear...
8- wait-for: "#titles "
9- assert-attribute: ("#titles > button:nth-of-type(1)", {"class": "selected"})
10- assert-text: ("#titles > button:nth-of-type(1)", "In Names", STARTS_WITH)
8+ wait-for: "#search-tabs "
9+ assert-attribute: ("#search-tabs > button:nth-of-type(1)", {"class": "selected"})
10+ assert-text: ("#search-tabs > button:nth-of-type(1)", "In Names", STARTS_WITH)
1111assert: "input.search-input:focus"
1212// Use left-right keys
1313press-key: "ArrowDown"
1414assert: "#results > .search-results.active > a:nth-of-type(1):focus"
1515press-key: "ArrowRight"
16- wait-for-attribute: ("#titles > button:nth-of-type(2)", {"class": "selected"})
16+ wait-for-attribute: ("#search-tabs > button:nth-of-type(2)", {"class": "selected"})
1717press-key: "ArrowRight"
18- wait-for-attribute: ("#titles > button:nth-of-type(3)", {"class": "selected"})
18+ wait-for-attribute: ("#search-tabs > button:nth-of-type(3)", {"class": "selected"})
1919press-key: "ArrowRight"
20- wait-for-attribute: ("#titles > button:nth-of-type(1)", {"class": "selected"})
20+ wait-for-attribute: ("#search-tabs > button:nth-of-type(1)", {"class": "selected"})
2121press-key: "ArrowLeft"
22- wait-for-attribute: ("#titles > button:nth-of-type(3)", {"class": "selected"})
22+ wait-for-attribute: ("#search-tabs > button:nth-of-type(3)", {"class": "selected"})
2323
2424// Now try search-by-return
2525goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
2626write: (".search-input", "-> String")
2727// To be SURE that the search will be run.
2828press-key: 'Enter'
2929// Waiting for the search results to appear...
30- wait-for: "#titles "
31- assert-attribute: ("#titles > button:nth-of-type(1)", {"class": "selected"})
32- assert-text: ("#titles > button:nth-of-type(1)", "In Function Return Types", STARTS_WITH)
30+ wait-for: "#search-tabs "
31+ assert-attribute: ("#search-tabs > button:nth-of-type(1)", {"class": "selected"})
32+ assert-text: ("#search-tabs > button:nth-of-type(1)", "In Function Return Types", STARTS_WITH)
3333assert: "input.search-input:focus"
3434// Use left-right keys
3535press-key: "ArrowDown"
3636assert: "#results > .search-results.active > a:nth-of-type(1):focus"
3737press-key: "ArrowRight"
38- wait-for-attribute: ("#titles > button:nth-of-type(1)", {"class": "selected"})
38+ wait-for-attribute: ("#search-tabs > button:nth-of-type(1)", {"class": "selected"})
3939press-key: "ArrowRight"
40- wait-for-attribute: ("#titles > button:nth-of-type(1)", {"class": "selected"})
40+ wait-for-attribute: ("#search-tabs > button:nth-of-type(1)", {"class": "selected"})
4141press-key: "ArrowRight"
42- wait-for-attribute: ("#titles > button:nth-of-type(1)", {"class": "selected"})
42+ wait-for-attribute: ("#search-tabs > button:nth-of-type(1)", {"class": "selected"})
4343press-key: "ArrowLeft"
44- wait-for-attribute: ("#titles > button:nth-of-type(1)", {"class": "selected"})
44+ wait-for-attribute: ("#search-tabs > button:nth-of-type(1)", {"class": "selected"})
4545
4646// Try with a search-by-return with no results
4747goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
4848write: (".search-input", "-> Something")
4949// To be SURE that the search will be run.
5050press-key: 'Enter'
5151// Waiting for the search results to appear...
52- wait-for: "#titles "
53- assert-attribute: ("#titles > button:nth-of-type(1)", {"class": "selected"})
54- assert-text: ("#titles > button:nth-of-type(1)", "In Function Return Types", STARTS_WITH)
52+ wait-for: "#search-tabs "
53+ assert-attribute: ("#search-tabs > button:nth-of-type(1)", {"class": "selected"})
54+ assert-text: ("#search-tabs > button:nth-of-type(1)", "In Function Return Types", STARTS_WITH)
5555
5656// Try with a search-by-parameter
5757goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
5858write: (".search-input", "usize pattern")
5959// To be SURE that the search will be run.
6060press-key: 'Enter'
6161// Waiting for the search results to appear...
62- wait-for: "#titles "
63- assert-attribute: ("#titles > button:nth-of-type(1)", {"class": "selected"})
64- assert-text: ("#titles > button:nth-of-type(1)", "In Function Parameters", STARTS_WITH)
62+ wait-for: "#search-tabs "
63+ assert-attribute: ("#search-tabs > button:nth-of-type(1)", {"class": "selected"})
64+ assert-text: ("#search-tabs > button:nth-of-type(1)", "In Function Parameters", STARTS_WITH)
6565
6666// Try with a search-by-parameter-and-return
6767goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
6868write: (".search-input", "pattern -> str")
6969// To be SURE that the search will be run.
7070press-key: 'Enter'
7171// Waiting for the search results to appear...
72- wait-for: "#titles "
73- assert-attribute: ("#titles > button:nth-of-type(1)", {"class": "selected"})
74- assert-text: ("#titles > button:nth-of-type(1)", "In Function Signatures", STARTS_WITH)
72+ wait-for: "#search-tabs "
73+ assert-attribute: ("#search-tabs > button:nth-of-type(1)", {"class": "selected"})
74+ assert-text: ("#search-tabs > button:nth-of-type(1)", "In Function Signatures", STARTS_WITH)
0 commit comments