Skip to content

Commit

Permalink
Add GUI test for settings in small device
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 27, 2022
1 parent 9d118c5 commit 1564305
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/rustdoc-gui/settings.goml
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,12 @@ assert-false: "noscript section"
javascript: false
reload:
assert-css: ("noscript section", {"display": "block"})
javascript: true

// Check for the display on small screen
show-text: true
reload:
size: (300, 1000)
click: "#settings-menu"
wait-for: "#settings"
assert-css: ("#settings .slider", {"width": "45px"}, ALL)

0 comments on commit 1564305

Please sign in to comment.