I'm trying to use solo.clickOnMenuItem("Foo") wether "Foo" has textAllCaps (Lollipop) or not.
Since the string argument is supposed to be used along with a regex matcher, I tried using the case-insensitive regex flag: solo.clickOnMenuItem("(?i)Foo");, but that doesn't work either.
I'm trying to use
solo.clickOnMenuItem("Foo")
wether "Foo" hastextAllCaps
(Lollipop) or not.Since the string argument is supposed to be used along with a regex matcher, I tried using the case-insensitive regex flag:
solo.clickOnMenuItem("(?i)Foo");
, but that doesn't work either.Any ideas on how to do that?