e2e: fix test_sticker_1_1_public_chat

This commit is contained in:
pavloburykh 2022-05-10 13:01:50 +03:00
parent 2a81814992
commit 81a8ed95a7
No known key found for this signature in database
GPG Key ID: 11D9383A6FB7F1D8
1 changed files with 1 additions and 1 deletions

View File

@ -881,7 +881,7 @@ class ChatView(BaseView):
self.get_stickers.click()
element = Button(self.driver,
xpath="//*[@content-desc='sticker-pack-name'][@text='%s']/..//*[@content-desc='sticker-pack-price']" % pack_name)
element.scroll_to_element()
element.scroll_to_element(depth=21)
element.click()
element.wait_for_invisibility_of_element()
self.back_button.click()