Add GUI test to ensure that line numbers text is aligned to the right

This commit is contained in:
Guillaume Gomez 2022-03-07 12:08:14 +01:00
parent e89efb8634
commit f23d6d3a47

View File

@ -14,3 +14,6 @@ assert-attribute: (".line-numbers > span:nth-child(6)", {"class": "line-highligh
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 > code > span", ("y"))
// Assert that the line numbers text is aligned to the right.
assert-css: (".line-numbers", {"text-align": "right"})