Rollup merge of #135535 - GuillaumeGomez:gui-test-135499, r=notriddle

Add GUI test for #135499

Fixes #135510.

cc `@lolbinarycat`
r? `@notriddle`
This commit is contained in:
Matthias Krüger 2025-01-15 22:06:12 +01:00 committed by GitHub
commit b6dc41f081
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,7 @@ go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
// This is needed so that the text color is computed.
show-text: true
// First we check the links of the different items.
define-function: (
"check-colors",
[theme, mod, macro, struct, enum, trait, fn, type, union, keyword,
@ -36,6 +37,11 @@ define-function: (
},
ALL,
)
move-cursor-to: ".desc a[href='long_code_block_link/index.html']"
assert-css: (
".desc a[href='long_code_block_link/index.html']",
{"text-decoration": "underline solid " + |mod|},
)
},
)