1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-05-28 03:56:50 +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
wa/workloads/pcmark
com.arm.wa.uiauto.pcmark.apk
uiauto/app/src/main/java/com/arm/wa/uiauto/pcmark

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