summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-gui/scrape-examples-fonts.goml
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-gui/scrape-examples-fonts.goml')
-rw-r--r--src/test/rustdoc-gui/scrape-examples-fonts.goml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/scrape-examples-fonts.goml b/src/test/rustdoc-gui/scrape-examples-fonts.goml
new file mode 100644
index 000000000..b7d7f4ccb
--- /dev/null
+++ b/src/test/rustdoc-gui/scrape-examples-fonts.goml
@@ -0,0 +1,8 @@
+goto: "file://" + |DOC_PATH| + "/scrape_examples/fn.test_many.html"
+
+store-value: (font, '"Fira Sans", Arial, NanumBarunGothic, sans-serif')
+
+wait-for-css: (".scraped-example-title", {"font-family": |font|})
+wait-for-css: (".more-examples-toggle summary", {"font-family": |font|})
+wait-for-css: (".more-examples-toggle .hide-more", {"font-family": |font|})
+wait-for-css: (".example-links a", {"font-family": |font|})