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|} }, )