2021-05-02 16:50:14 +02:00
|
|
|
goto: file://|DOC_PATH|/test_docs/index.html
|
2021-06-22 11:11:45 +02:00
|
|
|
assert-attribute: ("#main > details.top-doc", {"open": ""})
|
2021-02-21 14:25:12 +01:00
|
|
|
click: "#toggle-all-docs"
|
2021-05-11 20:56:07 +02:00
|
|
|
wait-for: 1000
|
|
|
|
// This is now collapsed so there shouldn't be the "open" attribute on details.
|
2021-06-22 11:11:45 +02:00
|
|
|
assert-attribute-false: ("#main > details.top-doc", {"open": ""})
|
2021-02-21 14:25:12 +01:00
|
|
|
click: "#toggle-all-docs"
|
2021-05-11 20:56:07 +02:00
|
|
|
wait-for: 1000
|
|
|
|
// Not collapsed anymore so the "open" attribute should be back.
|
2021-06-22 11:11:45 +02:00
|
|
|
assert-attribute: ("#main > details.top-doc", {"open": ""})
|