-
Notifications
You must be signed in to change notification settings - Fork 14
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
Supports DatePicker element #128
Conversation
@@ -67,6 +75,12 @@ final class OtherElementsController: UIViewController { | |||
|
|||
} | |||
|
|||
extension OtherElementsController: UITextFieldDelegate { | |||
func textFieldShouldReturn(_ textField: UITextField) -> Bool { | |||
textField.resignFirstResponder() |
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.
Needed to hide the keyboard for the picker after.
@@ -166,6 +167,94 @@ final class OtherElementsTests: TABTestCase, SystemPreferencesContext { | |||
When(I: adjust(otherElementsScreen.picker.wheel(0), to: "World")) | |||
Then(the: value(of: otherElementsScreen.picker.wheel(0), is: "World")) | |||
} | |||
|
|||
Scenario("Seeing and interacting with the time picker") { |
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.
Couple tests with differents variations of all date pickers (Date, Time, DateTime and Count Down Time)
What's in this PR?
This PR will add official support of DatePicker element and will resolve issue #55. This will help in future to support the new behaviour of Date Picker in iOS 14. #125
Pre-merge checklist
Before merging any PR, please check the following common things that should be done beforehand. These aren't all always required, so just check the box if it doesn't apply.
TABTestKit
target, notPods-TABTestKit_Example
etc.pod install
to ensure that the latest changes are in the Example project. Without this, Carthage might not see the latest changes.CHANGELOG
. For any changes pending a release, add to the Pending section. For releases, move everything pending to the release section.README
. Add info for any new features, update existing info for anything that's changed or needs extra info.