]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-gui/theme-change.goml
Rollup merge of #80805 - camelid:iter-by_ref-example, r=steveklabnik
[rust.git] / src / test / rustdoc-gui / theme-change.goml
1 goto: file://|DOC_PATH|/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: ("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: ("body", { "background-color": "rgb(255, 255, 255)" })