List common pitfalls you should avoid while writing Appium tests.
While writing Appium tests following points should be taken into consideration:
* Avoid excessive use of XPath as a locator. * Use accessibility ID locator for both iOS and Android mobile device testing. * Querying for visibility of elements should only be restricted for important elements.