rust/tests/rustdoc-gui/basic-code.goml
2023-01-15 12:58:04 +01:00

7 lines
234 B
Plaintext

// Small test to ensure the "src-line-numbers" element is only present once on
// the page.
goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
click: ".srclink"
wait-for: ".src-line-numbers"
assert-count: (".src-line-numbers", 1)