1 // All stability badges should have rounded corners and colored backgrounds.
2 go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
6 (theme, background, color),
8 set-local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": |theme|}
9 go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
10 assert: ".docblock .stab"
11 assert: ".item-table .stab"
12 assert-css: (".stab", {
13 "border-radius": "3px",
15 "background-color": |background|,
17 go-to: "file://" + |DOC_PATH| + "/test_docs/fn.replaced_function.html"
18 assert: (".item-info .stab")
19 assert-css: (".stab", {
20 "border-radius": "3px",
22 "background-color": |background|,
27 call-function: ("check-badge", {
30 "background": "#314559",
32 call-function: ("check-badge", {
35 "background": "#314559",
37 call-function: ("check-badge", {
40 "background": "#fff5d6",