new faucet url and locators

Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
Anton Danchenko 2019-03-22 13:01:22 +02:00 committed by Serhy
parent dd6f659809
commit 4150fbfe77
No known key found for this signature in database
GPG Key ID: 5D7C4B9E2B6F500B
2 changed files with 5 additions and 10 deletions

View File

@ -11,7 +11,7 @@ class NetworkApi(object):
def __init__(self):
self.network_url = 'http://api-%s.etherscan.io/api?' % pytest.config.getoption('network')
self.faucet_url = 'http://51.15.45.169:3001/donate'
self.faucet_url = 'https://faucet-ropsten.status.im/donate'
self.chat_bot_url = 'http://offsite.chat:8099'
def get_transactions(self, address: str) -> List[dict]:

View File

@ -331,18 +331,12 @@ class AddBootnodeButton(BaseButton):
self.locator = self.Locator.xpath_selector("(//*[@content-desc='icon'])[2]")
class BootnodeNameInput(BaseEditBox):
def __init__(self, driver):
super(BootnodeNameInput, self).__init__(driver)
self.locator = self.Locator.xpath_selector("//android.widget.EditText[@text='Specify a name']")
class BootnodeAddressInput(BaseEditBox):
def __init__(self, driver):
super(BootnodeAddressInput, self).__init__(driver)
self.locator = self.Locator.xpath_selector("//android.widget.EditText[@text='Specify bootnode address']")
self.locator = self.Locator.xpath_selector(
"//*[@text='Bootnode address']/following-sibling::*[1]/android.widget.EditText")
class EnableBootnodesToggle(BaseEditBox):
@ -363,7 +357,8 @@ class MailServerAddressInput(BaseEditBox):
def __init__(self, driver):
super(MailServerAddressInput, self).__init__(driver)
self.locator = self.Locator.xpath_selector("//android.widget.EditText[@text='Specify a mailserver address']")
self.locator = self.Locator.xpath_selector(
"//*[@text='Mailserver address']/following-sibling::*[1]/android.widget.EditText")
class MailServerAutoSelectionButton(BaseButton):