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

@@ -1,5 +1,6 @@
import React from 'react';
import {ActivityIndicator, StyleSheet, View} from 'react-native';
import { notesnook } from '../../../e2e/test.ids';
import {useTracked} from '../../provider';
import {DDS} from '../../services/DeviceDetection';
import Navigation from '../../services/Navigation';
@@ -22,6 +23,7 @@ export const HeaderRightMenu = () => {
menu: false,
});
}}
testID={notesnook.ids.default.header.buttons.left}
name="magnify"
size={SIZE.xxxl}
color={colors.pri}
@@ -33,6 +35,7 @@ export const HeaderRightMenu = () => {
onPress={() => {
containerBottomButton.onPress();
}}
testID={notesnook.ids.default.addBtn}
icon={currentScreen === 'trash' ? 'delete' : 'plus'}
iconSize={SIZE.xl}
type="shade"