Open roam-qa-alx opened 4 years ago
It's probably the issue with logging. I have check the appium helper and I don't think it's going to have an issue with locator handling. I'll try to reproduce and make a fix if I could.
Hi @idxn , thanks for that. Did you try to repro the issue yourself? I agree about the logging as I use the same locator strategy for other elements and they can be found whereas in this case, it's some other reason 🤔
What are you trying to achieve?
Reduce lines of code & complexity by passing in the
android
andios
locators for functions. Example below:I.see({ android: this.home_navTab_android, ios: this.home_navTab_ios });
What do you get instead?
Certain commands or selectors fail when using this method. However, I get different results if I use
I.see()
and pass in single OS locator. i.e Call the OS specific functions individually for each platform.Using
I.see(this.home_navTab_android);
Using:
I.see({ android: this.home_navTab_android, ios: this.home_navTab_ios });
Details