diff --git a/react/features/base/testing/components/AbstractTestHint.js b/react/features/base/testing/components/AbstractTestHint.js index 183582cfe..230c35cea 100644 --- a/react/features/base/testing/components/AbstractTestHint.js +++ b/react/features/base/testing/components/AbstractTestHint.js @@ -25,6 +25,12 @@ export type TestHintProps = { */ id: string, + /** + * The optional "on press" handler which can be used to bind a click handler + * to a {@link TestHint}. + */ + onPress: ?Function, + /** * The test hint's (text) value which is to be consumed by the tests. */ diff --git a/react/features/base/testing/components/TestHint.android.js b/react/features/base/testing/components/TestHint.android.js index 7d3c02591..534670a05 100644 --- a/react/features/base/testing/components/TestHint.android.js +++ b/react/features/base/testing/components/TestHint.android.js @@ -37,7 +37,9 @@ class TestHint extends Component { } return ( - + { this.props.value } ); diff --git a/react/features/base/testing/components/TestHint.ios.js b/react/features/base/testing/components/TestHint.ios.js index c7353ee20..64e0c6b80 100644 --- a/react/features/base/testing/components/TestHint.ios.js +++ b/react/features/base/testing/components/TestHint.ios.js @@ -28,6 +28,7 @@ class TestHint extends Component { return ( ); }