Rollup merge of #106888 - GuillaumeGomez:tidy-gui-test, r=notriddle
Add tidy check to ensure that rustdoc GUI tests start with a small description The first commit comes from https://github.com/rust-lang/rust/pull/106865 to prevent CI to fail. This PR adds a tidy check to enforce having a small description at the top of the GUI test. Although the format is made to be as easy as possible to read, it's not always obvious what a test is actually checking. I think enforcing this will make it easier for us to come back on these tests if needed. r? `@notriddle`
This commit is contained in:
commit
72180b348b
4 changed files with 37 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
// 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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue