From 925ff53fefa3ed177e8f2a1d7b7c30b56aa1e0f3 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 2 Feb 2022 20:36:20 +0100 Subject: [PATCH 1/2] Update browser-ui-test version --- src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile b/src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile index c547e12f5b6..52c73fd3bd1 100644 --- a/src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile +++ b/src/ci/docker/host-x86_64/x86_64-gnu-tools/Dockerfile @@ -72,7 +72,7 @@ ENV PATH="/node-v14.4.0-linux-x64/bin:${PATH}" # https://github.com/puppeteer/puppeteer/issues/375 # # We also specify the version in case we need to update it to go around cache limitations. -RUN npm install -g browser-ui-test@0.5.8 --unsafe-perm=true +RUN npm install -g browser-ui-test@0.7.1 --unsafe-perm=true ENV RUST_CONFIGURE_ARGS \ --build=x86_64-unknown-linux-gnu \ From ef00e3bee7fcb95968f04a7c2582c7463a97cd29 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 4 Feb 2022 11:11:03 +0100 Subject: [PATCH 2/2] Add comment in GUI test --- src/test/rustdoc-gui/type-declation-overflow.goml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/rustdoc-gui/type-declation-overflow.goml b/src/test/rustdoc-gui/type-declation-overflow.goml index 229c6d6ba6b..99aa38e87e9 100644 --- a/src/test/rustdoc-gui/type-declation-overflow.goml +++ b/src/test/rustdoc-gui/type-declation-overflow.goml @@ -31,6 +31,7 @@ assert-property: (".item-decl pre", {"scrollWidth": "950"}) // On mobile: size: (600, 600) goto: file://|DOC_PATH|/lib2/too_long/struct.SuperIncrediblyLongLongLongLongLongLongLongGigaGigaGigaMegaLongLongLongStructName.html +// It shouldn't have an overflow in the topbar either. assert-property: (".mobile-topbar .location", {"scrollWidth": "986"}) assert-property: (".mobile-topbar .location", {"clientWidth": "504"}) assert-css: (".mobile-topbar .location", {"overflow-x": "hidden"})