From 885e95a8915c1a19b2403da37b44c08da4cb471c Mon Sep 17 00:00:00 2001 From: emrah Date: Wed, 25 Sep 2024 12:41:39 +0300 Subject: [PATCH] fix(getAccessibilityCSSSelector): Check the beginning when finding the matching aria-label --- src/test/java/org/jitsi/meet/test/util/MeetUIUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/jitsi/meet/test/util/MeetUIUtils.java b/src/test/java/org/jitsi/meet/test/util/MeetUIUtils.java index a104e2c46..67073706f 100644 --- a/src/test/java/org/jitsi/meet/test/util/MeetUIUtils.java +++ b/src/test/java/org/jitsi/meet/test/util/MeetUIUtils.java @@ -643,7 +643,7 @@ public static void assertDisplayNameVisible( */ public static String getAccessibilityCSSSelector(String accessibilityLabel) { - return String.format("[aria-label=\"%s\"]", accessibilityLabel); + return String.format("[aria-label^=\"%s\"]", accessibilityLabel); } /**