diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-01-15 22:06:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-15 22:06:12 +0100 |
| commit | b6dc41f0813321fbc0bd7d4600cfd257fc03dfb6 (patch) | |
| tree | e84e876151be92178936970c2f3e66a3e6d23c8f | |
| parent | e4bbca2a9b551c364eb65a9a1a7758b125e7fc90 (diff) | |
| parent | 0128c910f487e010a0c5693080a680f0d0a56a74 (diff) | |
| download | rust-b6dc41f0813321fbc0bd7d4600cfd257fc03dfb6.tar.gz rust-b6dc41f0813321fbc0bd7d4600cfd257fc03dfb6.zip | |
Rollup merge of #135535 - GuillaumeGomez:gui-test-135499, r=notriddle
Add GUI test for #135499 Fixes #135510. cc `@lolbinarycat` r? `@notriddle`
| -rw-r--r-- | tests/rustdoc-gui/links-color.goml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/links-color.goml b/tests/rustdoc-gui/links-color.goml index ad1b5e801ca..8d26b826479 100644 --- a/tests/rustdoc-gui/links-color.goml +++ b/tests/rustdoc-gui/links-color.goml @@ -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|}, + ) }, ) |
