mdbook/tests/gui/heading-nav-normal-intro.goml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
410 B
Text
Raw Normal View History

// When there is a normal-sized intro, when the page loads the first heading
// should be "current".
set-window-size: (1400, 800)
go-to: |DOC_PATH| + "test_book/headings/normal-intro.html"
assert-count: (".header-item", 4)
assert-count: (".current-header", 1)
assert-text: (".current-header", "The first heading")
click: "a[href='#and-a-sub-heading']"
wait-for-text: (".current-header", "And a sub heading")