summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/basic-code.goml
blob: e372f7119743494b8ebdc81b71eb69f48509064f (plain)
1
2
3
4
5
6
// Small test to ensure the "src-line-numbers" element is only present once on
// the page.
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
click: ".srclink"
wait-for: ".src-line-numbers"
assert-count: (".src-line-numbers", 1)