TestArmada / nightwatch-extra

MIT License
30 stars 25 forks source link

Adding The Ability to Pass More Configurations to StartActivity #135

Closed Adam-Alj closed 5 years ago

Adam-Alj commented 5 years ago

What does this do? This PR allows for StartActivity to take in more appium configurations than just appPackage and appActivity.

With these changes, the StartActivity can take in every capability supported by appium, outlined here: http://appium.io/docs/en/commands/device/activity/start-activity/

Why is this needed? For testing adaptability. Some tests may require an activity to be started multiple times with different configurations. The ability to pass intent into this method also opens up many possibilities and doors.