Add/update tests for --extend-css
option
This commit is contained in:
parent
bf6582e0cc
commit
6bc6ea7a3e
9 changed files with 29 additions and 2 deletions
5
tests/rustdoc-gui/extend-css.goml
Normal file
5
tests/rustdoc-gui/extend-css.goml
Normal file
|
@ -0,0 +1,5 @@
|
|||
// Test to ensure that the `--extend-css` option is working as expected.
|
||||
go-to: "file://" + |DOC_PATH| + "/extend_css/index.html"
|
||||
show-text: true
|
||||
// The text from the `.extend` element should be red.
|
||||
assert-css: (".extend", {"color": "rgb(255, 0, 0)"})
|
Loading…
Add table
Add a link
Reference in a new issue