Fixed assets selection and default running time for chat bot
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
This commit is contained in:
parent
76036c88cc
commit
4a21b5192c
|
@ -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')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue