mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-22 04:49:00 +00:00
pcmark: Update popup dismissal to be case insensitive.
Some devices use difference capitalisation so ignore case when matching.
This commit is contained in:
parent
0f9331dafe
commit
6f9856cf2e
Binary file not shown.
@ -65,7 +65,7 @@ public class UiAutomation extends BaseUiAutomation {
|
||||
|
||||
private void clearPopups() throws Exception{
|
||||
UiObject permiss =
|
||||
mDevice.findObject(new UiSelector().text("Continue"));
|
||||
mDevice.findObject(new UiSelector().textMatches("(?i)Continue"));
|
||||
if (permiss.exists()){
|
||||
permiss.click();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user