Hello Friends đź‘‹,

Welcome To Infinitbility! ❤️

React Native detox tutorial

1. React native detox example

2. React native detox multiple typeText crash issues

3. React native detox with react navigation example

4. react-native-date-picker detox example

5. react-native-otp-input detox example

Github source repo

As I researched, I haven’t got any example of react-native-date-picker detox example that’s why I tried myself and shared it with you guys.

If anyone has better the following example, please share it in the comment section.

react-native-date-picker provides them every section scrollable and I have already read about detox swipe action.

basically, here I’m selecting sections by text and swiping them.

describe('register flow', () => {
    it('should able to select datepicker', async () => {
        await element(by.id('datepicker')).tap();
        await element(by.text('2022')).swipe('down');
        await element(by.text('CONFIRM')).tap();
    });
});

Thanks for reading …