Skip to content

Commit 458262b

Browse files
committed
Auto merge of rust-lang#94779 - GuillaumeGomez:ci-spurious-failures, r=Dylan-DPC
Fix spurious CI failures This should fix the CI error encountered in rust-lang#94774 (and multiple others). cc `@nikic`
2 parents 10dccdc + 18006a6 commit 458262b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/rustdoc-gui/mobile.goml

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ goto: file://|DOC_PATH|/staged_api/struct.Foo.html
33
size: (400, 600)
44

55
font-size: 18
6+
wait-for: 100 // wait a bit for the resize and the font-size change to be fully taken into account.
67

78
// The out-of-band info (source, stable version, collapse) should be below the
89
// h1 when the screen gets narrow enough.
@@ -18,10 +19,12 @@ assert-property: (".mobile-topbar h2.location", {"offsetHeight": 36})
1819
assert-css: (".content .out-of-band .since::before", { "content": "\"Since \"" })
1920

2021
size: (1000, 1000)
22+
wait-for: 100 // wait a bit for the resize to be fully taken into account.
2123
assert-css-false: (".content .out-of-band .since::before", { "content": "\"Since \"" })
2224

2325
// On the settings page, the theme buttons should not line-wrap. Instead, they should
2426
// all be placed as a group on a line below the setting name "Theme."
2527
goto: file://|DOC_PATH|/settings.html
2628
size: (400, 600)
27-
compare-elements-position-near-false: ("#preferred-light-theme .setting-name", "#preferred-light-theme .choice", {"y": 16})
29+
// Ignored for now https://github.com/rust-lang/rust/issues/93784.
30+
// compare-elements-position-near-false: ("#preferred-light-theme .setting-name", "#preferred-light-theme .choice", {"y": 16})

0 commit comments

Comments
 (0)