Title: [251407] trunk/Tools
Revision
251407
Author
[email protected]
Date
2019-10-21 18:31:22 -0700 (Mon, 21 Oct 2019)

Log Message

TestWebKitAPI.ScrollViewScrollabilityTests.ScrollableWithOverflowHiddenAndInputView is failing on iPad simulator
https://bugs.webkit.org/show_bug.cgi?id=203053

Reviewed by Wenson Hsieh.

Make ScrollableWithOverflowHiddenAndInputView only test the results on iPhones. Test is not designed for ipad.

* TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (251406 => 251407)


--- trunk/Tools/ChangeLog	2019-10-22 01:16:08 UTC (rev 251406)
+++ trunk/Tools/ChangeLog	2019-10-22 01:31:22 UTC (rev 251407)
@@ -1,3 +1,15 @@
+2019-10-21  Simon Fraser  <[email protected]>
+
+        TestWebKitAPI.ScrollViewScrollabilityTests.ScrollableWithOverflowHiddenAndInputView is failing on iPad simulator
+        https://bugs.webkit.org/show_bug.cgi?id=203053
+
+        Reviewed by Wenson Hsieh.
+        
+        Make ScrollableWithOverflowHiddenAndInputView only test the results on iPhones. Test is not designed for ipad.
+
+        * TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm:
+        (TestWebKitAPI::TEST):
+
 2019-10-21  Jonathan Bedard  <[email protected]>
 
         results.webkit.org: Add ability to display time on bubbles

Modified: trunk/Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm (251406 => 251407)


--- trunk/Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm	2019-10-22 01:16:08 UTC (rev 251406)
+++ trunk/Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm	2019-10-22 01:31:22 UTC (rev 251407)
@@ -94,7 +94,10 @@
 
     auto webView = webViewWithAutofocusedInput(inputDelegate);
     [webView waitForNextPresentationUpdate];
-    EXPECT_EQ([[webView scrollView] isScrollEnabled], YES);
+    
+    BOOL isPhone = [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone;
+    if (isPhone)
+        EXPECT_EQ([[webView scrollView] isScrollEnabled], YES);
 }
 
 TEST(ScrollViewScrollabilityTests, ScrollableWithOverflowHiddenAndVisibleUI)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to