Skip to content

Commit 999e41e

Browse files
author
Maurice Döpke
committed
Rephrase testID docs to be more generic instad of focused on detox
1 parent 4500128 commit 999e41e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ If true, the user won't be able to interact with the view.
518518

519519
#### `testID` (`optional`)
520520

521-
Used to test your app with tools like e.g. detox.
521+
Usually used by app automation frameworks.
522522
Fully supported on iOS. On Android, only supported for `mode="date"`.
523523

524524
```js

src/datepicker.android.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default class DatePickerAndroid {
2222
* - `value` (`Date` object) - date to show by default
2323
* - `minimumDate` (`Date` object) - minimum date that can be selected
2424
* - `maximumDate` (`Date` object) - maximum date that can be selected
25-
* - `testID` (`string`) - testID for usage with e.g. detox
25+
* - `testID` (`string`) - Sets view tag for use with automation frameworks
2626
* - `display` (`enum('calendar', 'spinner', 'default')`) - To set the date-picker display to calendar/spinner/default
2727
* - 'calendar': Show a date picker in calendar mode.
2828
* - 'spinner': Show a date picker in spinner mode.

0 commit comments

Comments
 (0)