Fix remaining bugs
This commit is contained in:
parent
6e9954d12e
commit
1e55c31cbb
3 changed files with 22 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
goto: file://|DOC_PATH|/src/test_docs/lib.rs.html
|
||||
// Check that we can click on the line number.
|
||||
click: (50, 196) // This is the position of the span for line 4.
|
||||
click: ".line-numbers > span:nth-child(4)" // This is the span for line 4.
|
||||
// Unfortunately, "#4" isn't a valid query selector, so we have to go around that limitation
|
||||
// by instead getting the nth span.
|
||||
assert-attribute: (".line-numbers > span:nth-child(4)", {"class": "line-highlighted"})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue