From ea05be2cf8b2e38dd0f0607c9b6e9ec048a8b3f7 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 10 Aug 2022 15:50:20 +0200 Subject: [PATCH] Update GUI test --- .../rustdoc-gui/search-result-display.goml | 46 ++++++------------- 1 file changed, 14 insertions(+), 32 deletions(-) diff --git a/src/test/rustdoc-gui/search-result-display.goml b/src/test/rustdoc-gui/search-result-display.goml index 26c176cbc9f..db4907924fa 100644 --- a/src/test/rustdoc-gui/search-result-display.goml +++ b/src/test/rustdoc-gui/search-result-display.goml @@ -4,7 +4,7 @@ size: (900, 1000) write: (".search-input", "test") // To be SURE that the search will be run. press-key: 'Enter' -wait-for: ".search-results-title" +wait-for: "#crate-search" // The width is returned by "getComputedStyle" which returns the exact number instead of the // CSS rule which is "50%"... assert-css: (".search-results div.desc", {"width": "295px"}) @@ -17,36 +17,18 @@ assert-css: (".search-results div.desc", {"width": "570px"}) // To do so we need to update the length of one of its `