Update toggle-docs GUI test to last version

This commit is contained in:
Guillaume Gomez 2021-05-11 20:56:07 +02:00
parent d5a24b0a33
commit 1b0976c42f

View File

@ -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", "")