Come back to the Sample.feature file and create step definitions for the other two steps in the sample class file, HomePageSteps.
Step 2 implementation:
- In the And I choose to log in using Google step, we are supposed to click on the Google icon once the app launches.
- The sequence of steps is:
- Find the locator for the Google icon.
- Click on the icon.
- To find the locator, we need the Appium GUI app (Since the android settings are correct and unaltered, we can start the session again by clicking on Launch).
- Once the server has started, click on the Appium inspector icon and wait for the app to launch on emulator.
- Click on the Refresh button in the Appium Inspector popup.
- Once done, click on the Google icon ...