1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-05 18:31:12 +01:00

pcmark: Update popup dismissal to be case insensitive.

Some devices use difference capitalisation so ignore case when matching.
This commit is contained in:
Marc Bonnici 2020-01-21 15:11:12 +00:00 committed by setrofim
parent 0f9331dafe
commit 6f9856cf2e
2 changed files with 1 additions and 1 deletions

View File

@ -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();
}