This adds the all-summary GUI test book which can be used for general purpose tests that need a few pages to exercise all the different kinds of items.
17 lines
551 B
Text
17 lines
551 B
Text
// This GUI test checks the active page sidebar highlight.
|
|
|
|
go-to: |DOC_PATH| + "all-summary/index.html"
|
|
|
|
assert-text: ("mdbook-sidebar-scrollbox a.active", "Prefix 1")
|
|
|
|
go-to: |DOC_PATH| + "all-summary/part-1/chapter-1.html"
|
|
|
|
assert-text: ("mdbook-sidebar-scrollbox a.active", "3. P1 C1")
|
|
|
|
go-to: |DOC_PATH| + "all-summary/index.html?highlight=test"
|
|
|
|
assert-text: ("mdbook-sidebar-scrollbox a.active", "Prefix 1")
|
|
|
|
go-to: |DOC_PATH| + "all-summary/part-1/chapter-1.html?highlight=test"
|
|
|
|
assert-text: ("mdbook-sidebar-scrollbox a.active", "3. P1 C1")
|