-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dimissKeyboard to Swift interface #747
base: master
Are you sure you want to change the base?
Conversation
@@ -138,6 +138,14 @@ open class EarlGrey: NSObject { | |||
.rotateDevice(to: orientation, | |||
errorOrNil: errorOrNil) | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great. do you mind adding a test that uses this as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any test suite that tests the swift implementations? I've just found the Objective-C ones 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, sorry you're right. How about here: https://github.com/google/EarlGrey/blob/master/Demo/EarlGreyExample/EarlGreyExampleSwiftTests/EarlGreyExampleSwiftTests.swift ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't promise nothing until the weekend, but I'll try to make it work 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, why does the build fail? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those look like legitimate test failures unrelated to your change.
@tirodkar mind taking a look?
This cl is good to go. Seems like there's a synch issue in the analytics test. The pinch flakes are know, though rare to catch. |
Can we merge this then? |
Adds a missing implementation in Swift for
dismissKeyboard
.