2025-04-21 12:03:17 -07:00
|
|
|
// This GUI test checks the active page sidebar highlight.
|
|
|
|
|
|
2025-10-13 20:07:38 -07:00
|
|
|
go-to: |DOC_PATH| + "test_book/index.html"
|
2025-04-21 12:03:17 -07:00
|
|
|
|
|
|
|
|
assert-text: ("mdbook-sidebar-scrollbox a.active", "Prefix Chapter")
|
|
|
|
|
|
2025-10-13 20:07:38 -07:00
|
|
|
go-to: |DOC_PATH| + "test_book/individual/index.html"
|
2025-04-21 12:03:17 -07:00
|
|
|
|
|
|
|
|
assert-text: ("mdbook-sidebar-scrollbox a.active", "3. Markdown Individual tags")
|
|
|
|
|
|
2025-10-13 20:07:38 -07:00
|
|
|
go-to: |DOC_PATH| + "test_book/index.html?highlight=test"
|
2025-04-21 12:03:17 -07:00
|
|
|
|
|
|
|
|
assert-text: ("mdbook-sidebar-scrollbox a.active", "Prefix Chapter")
|
|
|
|
|
|
2025-10-13 20:07:38 -07:00
|
|
|
go-to: |DOC_PATH| + "test_book/individual/index.html?highlight=test"
|
2025-04-21 12:03:17 -07:00
|
|
|
|
|
|
|
|
assert-text: ("mdbook-sidebar-scrollbox a.active", "3. Markdown Individual tags")
|