Update toggle-docs GUI test to last version
This commit is contained in:
parent
d5a24b0a33
commit
1b0976c42f
@ -1,7 +1,10 @@
|
|||||||
goto: file://|DOC_PATH|/test_docs/index.html
|
goto: file://|DOC_PATH|/test_docs/index.html
|
||||||
|
assert: ("#main > details.top-doc", "open", "")
|
||||||
click: "#toggle-all-docs"
|
click: "#toggle-all-docs"
|
||||||
wait-for: 5000
|
wait-for: 1000
|
||||||
assert: ("#main > div.docblock.hidden-by-usual-hider")
|
// This is now collapsed so there shouldn't be the "open" attribute on details.
|
||||||
|
assert-false: ("#main > details.top-doc", "open", "")
|
||||||
click: "#toggle-all-docs"
|
click: "#toggle-all-docs"
|
||||||
wait-for: 5000
|
wait-for: 1000
|
||||||
assert: ("#main > div.docblock.hidden-by-usual-hider", 0)
|
// Not collapsed anymore so the "open" attribute should be back.
|
||||||
|
assert: ("#main > details.top-doc", "open", "")
|
||||||
|
Loading…
Reference in New Issue
Block a user