]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-gui/theme-change.goml
New upstream version 1.58.1+dfsg1
[rustc.git] / src / test / rustdoc-gui / theme-change.goml
CommitLineData
136023e0
XL
1goto: file://|DOC_PATH|/test_docs/index.html
2click: "#theme-picker"
3click: "#theme-choices > button:first-child"
4wait-for: 500
5// should be the ayu theme so let's check the color
6assert-css: ("body", { "background-color": "rgb(15, 20, 25)" })
7click: "#theme-choices > button:last-child"
8wait-for: 500
9// should be the light theme so let's check the color
10assert-css: ("body", { "background-color": "rgb(255, 255, 255)" })