Skip to content

Commit 8a69956

Browse files
The height of the copy-path icon was removed by 4 so updating GUI tests accordingly
1 parent bd42df6 commit 8a69956

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/rustdoc-gui/item-info.goml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ store-position: (
2020
{"x": second_line_x, "y": second_line_y},
2121
)
2222
assert: |first_line_x| != |second_line_x| && |first_line_x| == 516 && |second_line_x| == 272
23-
assert: |first_line_y| != |second_line_y| && |first_line_y| == 688 && |second_line_y| == 711
23+
assert: |first_line_y| != |second_line_y| && |first_line_y| == 684 && |second_line_y| == 707
2424

2525
// Now we ensure that they're not rendered on the same line.
2626
set-window-size: (1100, 800)

tests/rustdoc-gui/scrape-examples-layout.goml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ assert-property: (
3939
store-value: (offset_y, 4)
4040

4141
// First with desktop
42-
assert-position: (".scraped-example .code-wrapper", {"y": 226})
43-
assert-position: (".scraped-example .code-wrapper .prev", {"y": 226 + |offset_y|})
42+
assert-position: (".scraped-example .code-wrapper", {"y": 222})
43+
assert-position: (".scraped-example .code-wrapper .prev", {"y": 222 + |offset_y|})
4444

4545
// Then with mobile
4646
set-window-size: (600, 600)

0 commit comments

Comments
 (0)