Add check to ensure that the line numbers are aligned with the source code
This commit is contained in:
parent
3af9c9157e
commit
5c9e10eec3
1 changed files with 2 additions and 0 deletions
|
@ -11,3 +11,5 @@ assert-attribute: (".line-numbers > span:nth-child(4)", {"class": "line-highligh
|
|||
assert-attribute: (".line-numbers > span:nth-child(5)", {"class": "line-highlighted"})
|
||||
assert-attribute: (".line-numbers > span:nth-child(6)", {"class": "line-highlighted"})
|
||||
assert-attribute-false: (".line-numbers > span:nth-child(7)", {"class": "line-highlighted"})
|
||||
// This is to ensure that the content is correctly align with the line numbers.
|
||||
compare-elements-position: ("//*[@id='1']", ".rust > span", ("y"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue