From 3de874aac55afd0e978aed0b93ebe82ead4c3b3d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 13 Jun 2024 22:32:15 +0200 Subject: [PATCH] Reduce rustdoc GUI tests flakyness --- tests/rustdoc-gui/utils.goml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rustdoc-gui/utils.goml b/tests/rustdoc-gui/utils.goml index 844dc98a5374c..7bf3fe0577236 100644 --- a/tests/rustdoc-gui/utils.goml +++ b/tests/rustdoc-gui/utils.goml @@ -13,6 +13,6 @@ define-function: ( // Close the popover. click: "#settings-menu" // Ensure that the local storage was correctly updated. - assert-local-storage: {"rustdoc-theme": |theme|} + wait-for-local-storage: {"rustdoc-theme": |theme|} }, )