]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-gui/scrape-examples-fonts.goml
Extend `BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE`.
[rust.git] / tests / rustdoc-gui / scrape-examples-fonts.goml
1 // This test ensures that the correct font is used in scraped examples.
2 goto: "file://" + |DOC_PATH| + "/scrape_examples/fn.test_many.html"
3
4 store-value: (font, '"Fira Sans", Arial, NanumBarunGothic, sans-serif')
5
6 wait-for-css: (".scraped-example-title", {"font-family": |font|})
7 wait-for-css: (".more-examples-toggle summary", {"font-family": |font|})
8 wait-for-css: (".more-examples-toggle .hide-more", {"font-family": |font|})
9 wait-for-css: (".example-links a", {"font-family": |font|})