From cefa900a0f060c96f8763d95b54fc2fe29ebc073 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 12 Sep 2021 16:34:18 +0200 Subject: [PATCH] Reduce possibility of flaky tests --- src/test/rustdoc-gui/code-sidebar-toggle.goml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/rustdoc-gui/code-sidebar-toggle.goml b/src/test/rustdoc-gui/code-sidebar-toggle.goml index 00326e9bbc4..6fb92e19660 100644 --- a/src/test/rustdoc-gui/code-sidebar-toggle.goml +++ b/src/test/rustdoc-gui/code-sidebar-toggle.goml @@ -1,5 +1,6 @@ goto: file://|DOC_PATH|/test_docs/index.html click: ".srclink" +wait-for: "#sidebar-toggle" click: "#sidebar-toggle" wait-for: 500 fail: true