]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/theme-change.goml
Merge commit '8d14c94b5c0a66241b4244f1c60ac5859cec1d97' into clippyup
[rust.git] / src / test / rustdoc-gui / theme-change.goml
1 goto: file://|DOC_PATH|/test_docs/index.html
2 click: "#theme-picker"
3 click: "#theme-choices > button:first-child"
4 wait-for: 500
5 // should be the ayu theme so let's check the color
6 assert-css: ("body", { "background-color": "rgb(15, 20, 25)" })
7 click: "#theme-choices > button:last-child"
8 wait-for: 500
9 // should be the light theme so let's check the color
10 assert-css: ("body", { "background-color": "rgb(255, 255, 255)" })