Me and my team sometimes experienced this issue when testing one Cucumber feature in:
different version of Android and iOS
different device with same OS version.
This really slowing us down because we need different XPath for different environment. Really time consuming to do this over and over again and really hard to maintain our element locator.
Our devs developed the app we're testing in React.
My question simply, why this thing happened and how we work around it? Is there any solution?