From 8e12d197a2211fbf9394dec83abc05c679778ab8 Mon Sep 17 00:00:00 2001 From: Joel Einbinder Date: Tue, 29 May 2018 15:30:08 -0700 Subject: [PATCH] fix(tests): normalize scrollbars in headful tests (#2622) Scrollbars look different on different platforms, so must be made invisible in tests. As a drive-by, xdescribe was broken with the new test runner. References #2524 --- test/assets/frames/nested-frames.html | 3 +++ test/assets/grid.html | 4 ++++ test/elementhandle.spec.js | 3 +++ utils/testrunner/TestRunner.js | 6 +++++- 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/test/assets/frames/nested-frames.html b/test/assets/frames/nested-frames.html index e5fdb751feb..cb14fe6be6d 100644 --- a/test/assets/frames/nested-frames.html +++ b/test/assets/frames/nested-frames.html @@ -7,6 +7,9 @@ body iframe { flex-grow: 1; flex-shrink: 1; } +::-webkit-scrollbar{ + display: none; +}