Anton Danchenko 98beef138f added 'send transaction initiated from the DApp' and 'send transaction with invalid password' tests, basetestcase reworked for smooth local runs
added 'send transaction initiated from the DApp' and 'send transaction with invalid password' tests, basetestcase reworked for smooth local runs
2017-10-10 18:41:18 +03:00

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)