xmtp / xmtp-react-native

A package you can use to build with XMTP in a React Native or Expo app.
MIT License
38 stars 19 forks source link

Example app: Add E2E test suite boilerplate #162

Open daria-github opened 9 months ago

daria-github commented 9 months ago

Is your feature request related to a problem?

Currently, we have a set of unit tests in the example app that haven't sufficiently caught issues that would be caught in an E2E test.

Describe the solution to the problem

This ticket is to create an initial basic test suite for E2E tests. Here are some examples on xmtp.chat if you want to use a similar approach:

Describe the uses cases for the feature

No response

Additional details

Ideally these would be added in a GitHub Action as well.

alexrisch commented 9 months ago

Easiest setup would likely be Detox https://wix.github.io/Detox/docs/introduction/getting-started/ Let's tackle this after the other fixes so we aren't blocking each other waiting for E2E tests to be functional, but would be good to go back and make sure functionality is tested