]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc-gui/theme-change.goml
New upstream version 1.55.0+dfsg1
[rustc.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)" })