mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-11 01:07:00 +00:00
98beef138f
added 'send transaction initiated from the DApp' and 'send transaction with invalid password' tests, basetestcase reworked for smooth local runs
25 lines
680 B
Python
25 lines
680 B
Python
from views.base_element import BaseElement, BaseButton, BaseEditBox, BaseText
|
|
import logging
|
|
import time
|
|
import pytest
|
|
|
|
|
|
class AuctionHouseButton(BaseButton):
|
|
|
|
def __init__(self, driver):
|
|
super(AuctionHouseButton, self).__init__(driver)
|
|
self.locator = self.Locator.xpath_selector(
|
|
"(//android.widget.TextView[@text='Auction House'])[1]")
|
|
|
|
def navigate(self):
|
|
from views.web_views.auction_house import AuctionHouseWebView
|
|
return AuctionHouseWebView(self.driver)
|
|
|
|
|
|
class ContactsViewObject(object):
|
|
|
|
def __init__(self, driver):
|
|
self.driver = driver
|
|
|
|
self.auction_house_button = AuctionHouseButton(self.driver)
|