about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/ci/docker/host-x86_64/x86_64-gnu-tools/browser-ui-test.version2
-rw-r--r--tests/rustdoc-gui/search-result-display.goml9
2 files changed, 6 insertions, 5 deletions
diff --git a/src/ci/docker/host-x86_64/x86_64-gnu-tools/browser-ui-test.version b/src/ci/docker/host-x86_64/x86_64-gnu-tools/browser-ui-test.version
index 75aa0c2b2a2..b31629ad605 100644
--- a/src/ci/docker/host-x86_64/x86_64-gnu-tools/browser-ui-test.version
+++ b/src/ci/docker/host-x86_64/x86_64-gnu-tools/browser-ui-test.version
@@ -1 +1 @@
-0.16.7
\ No newline at end of file
+0.16.8
\ No newline at end of file
diff --git a/tests/rustdoc-gui/search-result-display.goml b/tests/rustdoc-gui/search-result-display.goml
index f4c0e3eb047..6ce13b8c3d3 100644
--- a/tests/rustdoc-gui/search-result-display.goml
+++ b/tests/rustdoc-gui/search-result-display.goml
@@ -38,10 +38,11 @@ compare-elements-position-near: (
     ".search-results .result-name .path",
     {"y": 2, "x": 0},
 )
-store-size: (".search-results .result-name", {"width": width, "height": height})
-store-size: (".search-results .result-name .path", {"width": sub_width, "height": sub_height})
-assert: |width| < |sub_width| + 8 && |width| > |sub_width| - 8
-assert: |height| < |sub_height| + 8 && |height| > |sub_height| - 8
+compare-elements-size-near: (
+    ".search-results .result-name",
+    ".search-results .result-name .path",
+    {"width": 8, "height": 8},
+)
 
 // Check that the crate filter `<select>` is correctly handled when it goes to next line.
 // To do so we need to update the length of one of its `<option>`.