In the "Terminal", we need to strat appium
first, and go to the iOS Cucumber folder, then run cucumber
to execute "TextFields.feature" and "Controls.feature" together.
And we will get the tests all "Pass":
Now the "ios_cucumber" folder should contain following folders and files:
The last one is the screenshot when the standard switch is turned on.
You can refer to the iOS Cucumber script from here.
This is all for iOS, we will talk about Android in next chapter.