diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-01-15 15:42:20 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-01-15 16:31:20 +0100 |
| commit | 0128c910f487e010a0c5693080a680f0d0a56a74 (patch) | |
| tree | 613920c3266026630b8b2fb23f921e640c3c1543 /tests/rustdoc-gui | |
| parent | 2776bdfe423c9fdfcd6313d678f0852ea26f1309 (diff) | |
| download | rust-0128c910f487e010a0c5693080a680f0d0a56a74.tar.gz rust-0128c910f487e010a0c5693080a680f0d0a56a74.zip | |
Add GUI test for #135499
Diffstat (limited to 'tests/rustdoc-gui')
| -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|}, + ) }, ) |
