Skip to content

Commit da0eec1

Browse files
committed
204 fix matching conversations state
1 parent c36bcbc commit da0eec1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

puma/apps/android/teleguard/xpaths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CONVERSATION_STATE_TELEGUARD_HEADER = '//android.view.View[@content-desc="TeleGuard"]'
2-
CONVERSATION_STATE_HAMBURGER_MENU = '//android.widget.FrameLayout[@resource-id="android:id/content"]/android.widget.FrameLayout/android.widget.FrameLayout/android.view.View/android.view.View/android.view.View/android.view.View/android.view.View[1]/android.view.View[2]/android.view.View[3]'
2+
CONVERSATION_STATE_HAMBURGER_MENU = '//android.view.View[@content-desc="TeleGuard"]/following-sibling::*[last()]'
33
CONVERSATION_STATE_SETTINGS_BUTTON = '//android.widget.ImageView[@content-desc="Settings"]'
44
CONVERSATION_STATE_ABOUT_BUTTON = '//android.widget.ImageView[@content-desc="About"]'
55
CONVERSATION_STATE_TELEGUARD_STATUS = '//android.view.View[@content-desc="Online"]|//android.view.View[contains(@content-desc, "Connection to server")]'

0 commit comments

Comments
 (0)