try the last pages as well
This commit is contained in:
parent
85afbe466e
commit
1de8cf8ba6
1 changed files with 12 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// This tests basic search behavior.
|
||||
// This tests pressing the left and right arrows moving to previous and next page.
|
||||
|
||||
// We disable the requests checks because `searchindex.json` will always fail
|
||||
// locally (due to CORS), but the searchindex.js will succeed.
|
||||
|
|
@ -27,3 +27,14 @@ assert-text: ("title", "Markdown Individual tags - mdBook test book")
|
|||
press-key: 'ArrowRight'
|
||||
assert-text: ("title", "Heading - mdBook test book")
|
||||
|
||||
// Last numbered page
|
||||
go-to: "../rust/rust_codeblock.html"
|
||||
assert-text: ("title", "Rust Codeblocks - mdBook test book")
|
||||
|
||||
// Go to the suffix chapter
|
||||
press-key: 'ArrowRight'
|
||||
assert-text: ("title", "Suffix Chapter - mdBook test book")
|
||||
|
||||
// Try to go beyond the last page
|
||||
press-key: 'ArrowRight'
|
||||
assert-text: ("title", "Suffix Chapter - mdBook test book")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue