Skip to content

Commit 6657815

Browse files
Fix changes coming from browser-ui-test version update
1 parent ac453d3 commit 6657815

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

tests/rustdoc-gui/anchors.goml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ define-function: (
1515
assert-css: (".main-heading h1 span", {"color": |main_heading_type_color|})
1616
assert-css: (
1717
".rightside a.src",
18-
{"color": |src_link_color|, "text-decoration": "none solid " + |src_link_color|},
18+
{"color": |src_link_color|, "text-decoration": "none"},
1919
ALL,
2020
)
2121
compare-elements-css: (
@@ -32,17 +32,17 @@ define-function: (
3232
move-cursor-to: ".main-heading a.src"
3333
assert-css: (
3434
".main-heading a.src",
35-
{"color": |src_link_color|, "text-decoration": "underline solid " + |src_link_color|},
35+
{"color": |src_link_color|, "text-decoration": "underline"},
3636
)
3737
move-cursor-to: ".impl-items .rightside a.src"
3838
assert-css: (
3939
".impl-items .rightside a.src",
40-
{"color": |src_link_color|, "text-decoration": "none solid " + |src_link_color|},
40+
{"color": |src_link_color|, "text-decoration": "none"},
4141
)
4242
move-cursor-to: ".impl-items a.rightside.src"
4343
assert-css: (
4444
".impl-items a.rightside.src",
45-
{"color": |src_link_color|, "text-decoration": "none solid " + |src_link_color|},
45+
{"color": |src_link_color|, "text-decoration": "none"},
4646
)
4747

4848
go-to: "file://" + |DOC_PATH| + "/test_docs/struct.HeavilyDocumentedStruct.html"

tests/rustdoc-gui/links-color.goml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ define-function: (
4141
move-cursor-to: "dd a[href='long_code_block_link/index.html']"
4242
assert-css: (
4343
"dd a[href='long_code_block_link/index.html']",
44-
{"text-decoration": "underline solid " + |mod|},
44+
{"text-decoration": "underline"},
4545
)
4646
},
4747
)

tests/rustdoc-gui/sidebar-mobile.goml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ assert-property: ("rustdoc-topbar", {"clientHeight": "45"})
4949
// so the target is not obscured by the topbar.
5050
click: ".sidebar-menu-toggle"
5151
click: ".sidebar-elems section .block li > a"
52-
assert-position: ("#method\.must_use", {"y": 46})
52+
assert-position: ("#method\.must_use", {"y": 45})
5353

5454
// Check that the bottom-most item on the sidebar menu can be scrolled fully into view.
5555
click: ".sidebar-menu-toggle"

tests/rustdoc-gui/sidebar-source-code-display.goml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ click: "#sidebar-button"
141141
wait-for-css: (".src .sidebar > *", {"visibility": "hidden"})
142142
// We scroll to line 117 to change the scroll position.
143143
scroll-to: '//*[@id="117"]'
144-
store-value: (y_offset, "2567")
144+
store-value: (y_offset, "2568")
145145
assert-window-property: {"pageYOffset": |y_offset|}
146146
// Expanding the sidebar...
147147
click: "#sidebar-button"

0 commit comments

Comments
 (0)