rust/tests/rustdoc-gui/scrape-examples-ice-links.goml

9 lines
444 B
Plaintext

// Check that the line number column has the correct layout.
go-to: "file://" + |DOC_PATH| + "/scrape_ice/struct.ObscurelyNamedType1.html"
wait-for: ".scraped-example-title"
assert-attribute: (".scraped-example-title a", {"href": "../src/bar/bar.rs.html#2"})
click: ".scraped-example-title a"
wait-for-property: ("h1", {"innerText": "bar/\nbar.rs"})
// Ensure that the `--html-after-content` option was correctly handled.
assert: "#outer-html"