From a6ca39cab47c9f48765c764aed13df5025d9e598 Mon Sep 17 00:00:00 2001 From: Serhy Date: Mon, 27 Jan 2020 13:41:21 +0200 Subject: [PATCH] Fix e2e after removed custom pic --- test/appium/views/profile_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/appium/views/profile_view.py b/test/appium/views/profile_view.py index 746d4dab1947..0e2163611f8c 100644 --- a/test/appium/views/profile_view.py +++ b/test/appium/views/profile_view.py @@ -105,7 +105,7 @@ class DefaultUserNameText(BaseText): def __init__(self, driver): super(DefaultUserNameText, self).__init__(driver) self.locator = self.Locator.xpath_selector( - '//android.view.ViewGroup[@content-desc="edit-profile-photo-button"]/../android.widget.TextView') + '//android.widget.ImageView[@content-desc="chat-icon"]/../android.widget.TextView') class ENSusernames(BaseButton): def __init__(self, driver):