Skip to content

Commit 0a10219

Browse files
authored
Rollup merge of rust-lang#151836 - GuillaumeGomez:fix-gui-flakyness, r=GuillaumeGomez
Fix flakyness issue with `tests/rustdoc-gui/globals.goml` test Part of rust-lang#93784. It fixes this error: ``` [ERROR] line 14: The following errors happened: [Property named `"searchIndex"` doesn't exist]: for command `assert-window-property-false: {"searchIndex": null}` at <file:///checkout/obj/build/x86_64-unknown-linux-gnu/test/rustdoc-gui/doc/test_docs/index.html?search=Foo> ``` r? ghost
2 parents 8badc7f + 69624f5 commit 0a10219

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/rustdoc-gui/globals.goml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ assert-window-property-false: {"searchIndex": null}
1111
// Form input
1212
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
1313
call-function: ("perform-search", {"query": "Foo"})
14-
assert-window-property-false: {"searchIndex": null}
14+
wait-for-window-property-false: {"searchIndex": null}
1515

1616
// source sidebar
1717
go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"

0 commit comments

Comments
 (0)