1
Fork 0

Update rustdoc GUI tests to new browser-ui-test version

This commit is contained in:
Guillaume Gomez 2023-04-11 19:11:34 +02:00
parent 8aba3f3264
commit 010fa00b80
104 changed files with 308 additions and 308 deletions

View file

@ -1,5 +1,5 @@
// Checks that the setting "line numbers" is working as expected.
goto: "file://" + |DOC_PATH| + "/test_docs/fn.foo.html"
go-to: "file://" + |DOC_PATH| + "/test_docs/fn.foo.html"
// Otherwise, we can't check text color
show-text: true
@ -13,7 +13,7 @@ define-function: (
(theme, color),
block {
// We now set the setting to show the line numbers on code examples.
local-storage: {
set-local-storage: {
"rustdoc-theme": |theme|,
"rustdoc-use-system-theme": "false",
"rustdoc-line-numbers": "true"