Fixed assets selection and default running time for chat bot

Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
This commit is contained in:
Anton Danchenko 2018-09-14 16:35:37 +03:00
parent 76036c88cc
commit 4a21b5192c
No known key found for this signature in database
GPG Key ID: C2D4819B698627E4
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ def pytest_addoption(parser):
help='List of public keys for one-to-one chats') help='List of public keys for one-to-one chats')
parser.addoption('--running_time', parser.addoption('--running_time',
action='store', action='store',
default=None, default=600,
help='Running time in seconds') help='Running time in seconds')

View File

@ -243,7 +243,7 @@ class AssetButton(BaseButton):
def __init__(self, driver, asset_name): def __init__(self, driver, asset_name):
super(AssetButton, self).__init__(driver) super(AssetButton, self).__init__(driver)
self.asset_name = asset_name self.asset_name = asset_name
self.locator = self.Locator.text_part_selector(self.asset_name) self.locator = self.Locator.text_selector(self.asset_name)
@property @property
def name(self): def name(self):