mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
15 lines
590 B
Plaintext
15 lines
590 B
Plaintext
|
goto: "file://" + |DOC_PATH| + "/scrape_examples/fn.test_many.html"
|
||
|
|
||
|
// Clicking "More examples..." will open additional examples
|
||
|
assert-attribute-false: (".more-examples-toggle", {"open": ""})
|
||
|
click: ".more-examples-toggle"
|
||
|
assert-attribute: (".more-examples-toggle", {"open": ""})
|
||
|
|
||
|
// Toggling all docs will close additional examples
|
||
|
click: "#toggle-all-docs"
|
||
|
assert-attribute-false: (".more-examples-toggle", {"open": ""})
|
||
|
|
||
|
// After re-opening the docs, the additional examples should stay closed
|
||
|
click: "#toggle-all-docs"
|
||
|
assert-attribute-false: (".more-examples-toggle", {"open": ""})
|