Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use with Detox #77

Open
dancomanio opened this issue Sep 26, 2021 · 2 comments
Open

How to use with Detox #77

dancomanio opened this issue Sep 26, 2021 · 2 comments
Labels
question Further information is requested

Comments

@dancomanio
Copy link

How to use Detox with rn-swipe-button?

@UdaySravanK UdaySravanK added the question Further information is requested label May 20, 2022
@chococrypto
Copy link

someone have the answer ?

@sbycrosz
Copy link

Hi,

In case anyone wondering, we managed to run our e2e with

<SwipeButton
        ...
        // @ts-ignore Ignore wrong thumbIconComponent typing from rn-swipe-button
        thumbIconComponent={() => <Icon testID='SWIPE_ICON'/>}
        />

And on the detox test

await element(by.id('SWIPE_ICON')).swipe('right');

Cheers,
Sam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants