mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
Fix critical e2e
Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
parent
8ac0d6b92b
commit
7a7bafd5ef
@ -296,7 +296,7 @@ class ChatElementByText(BaseText):
|
||||
class Username(BaseText):
|
||||
def __init__(self, driver, parent_locator):
|
||||
super(Username, self).__init__(driver)
|
||||
self.locator = self.Locator.xpath_selector(parent_locator + "/*[1][name()='android.widget.TextView']")
|
||||
self.locator = self.Locator.xpath_selector(parent_locator + "/*[1]/android.widget.TextView")
|
||||
|
||||
return Username(self.driver, self.locator.value)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user