mdbook/tests/gui/sidebar-active.goml

18 lines
593 B
Text
Raw Normal View History

// This GUI test checks the active page sidebar highlight.
go-to: |DOC_PATH| + "test_book/index.html"
assert-text: ("mdbook-sidebar-scrollbox a.active", "Prefix Chapter")
go-to: |DOC_PATH| + "test_book/individual/index.html"
assert-text: ("mdbook-sidebar-scrollbox a.active", "3. Markdown Individual tags")
go-to: |DOC_PATH| + "test_book/index.html?highlight=test"
assert-text: ("mdbook-sidebar-scrollbox a.active", "Prefix Chapter")
go-to: |DOC_PATH| + "test_book/individual/index.html?highlight=test"
assert-text: ("mdbook-sidebar-scrollbox a.active", "3. Markdown Individual tags")