Add GUI test for javascript disabled display of settings page
This commit is contained in:
parent
e297bbf4c7
commit
bfb16b9dd7
1 changed files with 6 additions and 0 deletions
|
|
@ -65,3 +65,9 @@ assert-local-storage: {"rustdoc-disable-shortcuts": "true"}
|
|||
goto: file://|DOC_PATH|/settings.html
|
||||
wait-for: "#settings"
|
||||
assert-css: (".setting-line .toggle .slider", {"width": "45px", "margin-right": "20px"})
|
||||
|
||||
// We now check the display with JS disabled.
|
||||
assert-false: "noscript section"
|
||||
javascript: false
|
||||
reload:
|
||||
assert-css: ("noscript section", {"display": "block"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue