Debian Codegraph @

tests/gui/sidebar-active.goml

raw
1 // This GUI test checks the active page sidebar highlight.
2
3 go-to: |DOC_PATH| + "all-summary/index.html"
4
5 assert-text: (".sidebar-scrollbox a.active", "Prefix 1")
6
7 go-to: |DOC_PATH| + "all-summary/part-1/chapter-1.html"
8
9 assert-text: (".sidebar-scrollbox a.active", "3. P1 C1")
10
11 go-to: |DOC_PATH| + "all-summary/index.html?highlight=test"
12
13 assert-text: (".sidebar-scrollbox a.active", "Prefix 1")
14
15 go-to: |DOC_PATH| + "all-summary/part-1/chapter-1.html?highlight=test"
16
17 assert-text: (".sidebar-scrollbox a.active", "3. P1 C1")