add more test ids

This commit is contained in:
ammarahm-ed
2020-12-01 22:52:01 +05:00
parent c24d7fc779
commit bd3fcf46d0
18 changed files with 111 additions and 53 deletions

View File

@@ -10,6 +10,7 @@ import {
} from 'react-native';
import {useSafeAreaInsets} from 'react-native-safe-area-context';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import { notesnook } from '../../../e2e/test.ids';
import {useTracked} from '../../provider';
import {Actions} from '../../provider/Actions';
import {DDS} from '../../services/DeviceDetection';
@@ -172,6 +173,7 @@ const MoveNoteDialog = () => {
onChangeText={(value) => {
newNotebookTitle = value;
}}
testID={notesnook.ids.dialogs.addTo.addNotebook}
blurOnSubmit={false}
onFocus={() => {
setNotebookInputFocused(true);
@@ -198,6 +200,7 @@ const MoveNoteDialog = () => {
/>
<TouchableOpacity
onPress={addNewNotebook}
testID={notesnook.ids.dialogs.addTo.addNotebook}
style={[
{
borderRadius: 5,
@@ -285,6 +288,7 @@ const MoveNoteDialog = () => {
onChangeText={(value) => {
newTopicTitle = value;
}}
testID={notesnook.ids.dialogs.addTo.addTopic}
blurOnSubmit={false}
onFocus={() => {
setTopicInputFocused(true);
@@ -311,6 +315,7 @@ const MoveNoteDialog = () => {
/>
<TouchableOpacity
onPress={addNewTopic}
testID={notesnook.ids.dialogs.addTo.btnTopic}
style={[
{
borderRadius: 5,