e2e: fix test_sticker_1_1_public_chat
This commit is contained in:
parent
2a81814992
commit
81a8ed95a7
|
@ -881,7 +881,7 @@ class ChatView(BaseView):
|
||||||
self.get_stickers.click()
|
self.get_stickers.click()
|
||||||
element = Button(self.driver,
|
element = Button(self.driver,
|
||||||
xpath="//*[@content-desc='sticker-pack-name'][@text='%s']/..//*[@content-desc='sticker-pack-price']" % pack_name)
|
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.click()
|
||||||
element.wait_for_invisibility_of_element()
|
element.wait_for_invisibility_of_element()
|
||||||
self.back_button.click()
|
self.back_button.click()
|
||||||
|
|
Loading…
Reference in New Issue