WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
208281
[iPad Simulator] TestWebKitAPI.UIWKInteractionViewProtocol.SelectPositionAtPointAfterBecomingFirstResponder is failing
https://bugs.webkit.org/show_bug.cgi?id=208281
Summary
[iPad Simulator] TestWebKitAPI.UIWKInteractionViewProtocol.SelectPositionAtPo...
Ryan Haddad
Reported
2020-02-26 17:27:52 PST
The API test added with
https://trac.webkit.org/changeset/257487/webkit
is failing on iPad simulator bots with the following output: TestWebKitAPI.UIWKInteractionViewProtocol.SelectPositionAtPointAfterBecomingFirstResponder /Volumes/Data/slave/ios-simulator-13-release/build/Tools/TestWebKitAPI/Tests/ios/UIWKInteractionViewProtocol.mm:125 Expected equality of these values: "BODY" [webView stringByEvaluatingJavaScript:@"document.activeElement.tagName"] Which is: "DIV" Example of failure:
https://build.webkit.org/builders/Apple%20iPadOS%2013%20Simulator%20Release%20WK2%20%28Tests%29/builds/2271
Test history:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.UIWKInteractionViewProtocol.SelectPositionAtPointAfterBecomingFirstResponder
Attachments
Patch
(2.37 KB, patch)
2020-05-03 15:08 PDT
,
Daniel Bates
no flags
Details
Formatted Diff
Diff
To Land
(2.37 KB, patch)
2020-05-03 15:13 PDT
,
Daniel Bates
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-02-26 17:30:58 PST
<
rdar://problem/59829265
>
Daniel Bates
Comment 2
2020-02-26 18:32:56 PST
Oops. DismissFormAccesory is not enough for iPad. Need new SPI to dismiss keyboard or fake a keyboard dismissal. Can we skip the test on iPad?
Ryan Haddad
Comment 3
2020-02-27 16:25:54 PST
(In reply to Daniel Bates from
comment #2
)
> Oops. DismissFormAccesory is not enough for iPad. Need new SPI to dismiss > keyboard or fake a keyboard dismissal. Can we skip the test on iPad?
Is there a platform check for iPad simulator that you could add to the test? (I'm not sure if such a thing exists)
Daniel Bates
Comment 4
2020-05-03 14:58:55 PDT
(In reply to Ryan Haddad from
comment #3
)
> (In reply to Daniel Bates from
comment #2
) > > Oops. DismissFormAccesory is not enough for iPad. Need new SPI to dismiss > > keyboard or fake a keyboard dismissal. Can we skip the test on iPad? > Is there a platform check for iPad simulator that you could add to the test? > (I'm not sure if such a thing exists)
So, not a way to skip a test, but there is a way to force an iPad to behave like an iPhone: IPhoneUserInterfaceSwizzler.
Daniel Bates
Comment 5
2020-05-03 15:08:37 PDT
Created
attachment 398335
[details]
Patch
Daniel Bates
Comment 6
2020-05-03 15:13:55 PDT
Created
attachment 398336
[details]
To Land
Daniel Bates
Comment 7
2020-05-03 15:14:49 PDT
Comment on
attachment 398336
[details]
To Land Clearing flags on attachment: 398336 Committed
r261068
: <
https://trac.webkit.org/changeset/261068
>
Daniel Bates
Comment 8
2020-05-03 15:14:51 PDT
All reviewed patches have been landed. Closing bug.
Daniel Bates
Comment 9
2020-05-03 15:37:45 PDT
Committed build fix <
https://trac.webkit.org/changeset/261069
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug