In this recipe, we will write our first test. We are going to get the three input texts and type some values, then we will assert that the values are present in the fields.
For this recipe, we will continue working on the same project we created in the previous recipe.
We need to make sure the
Appium server is running; please take a look at recipe number 1 in this chapter.
We also need to make sure the inspector is not running, otherwise the device will be busy running the app and won't be able to run our tests.
Just in case, I have to mention that the device should be connected to your Mac (sometimes I've forgotten this important step) and the React Native Packager running.
We need the packager running ...