mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 18:25:45 +00:00
swipe to delete fix
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
This commit is contained in:
parent
83ef7746d4
commit
510961e333
@ -60,7 +60,7 @@ class ChatElement(BaseButton):
|
||||
class DeleteButton(BaseButton):
|
||||
def __init__(self, driver, parent_locator: str):
|
||||
super(DeleteButton, self).__init__(driver)
|
||||
locator_str = "/android.view.ViewGroup/*[@content-desc='icon']"
|
||||
locator_str = "/../../android.view.ViewGroup/*[@content-desc='icon']"
|
||||
self.locator = self.Locator.xpath_selector(parent_locator + locator_str)
|
||||
|
||||
return DeleteButton(self.driver, self.locator.value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user