mirror of
https://github.com/status-im/open-bounty.git
synced 2025-03-03 10:30:31 +00:00
fix wrong too long wait for contract
This commit is contained in:
parent
b9ef23a7e3
commit
654d0f497c
4
test/end-to-end/pages/thirdparty/github.py
vendored
4
test/end-to-end/pages/thirdparty/github.py
vendored
@ -267,7 +267,7 @@ class GithubPage(BasePageObject):
|
|||||||
def get_login_page(self):
|
def get_login_page(self):
|
||||||
self.driver.get(test_data.config['Common']['gh_login'])
|
self.driver.get(test_data.config['Common']['gh_login'])
|
||||||
|
|
||||||
def get_deployed_contract(self, wait=120):
|
def get_deployed_contract(self, wait=50):
|
||||||
for i in range(wait):
|
for i in range(wait):
|
||||||
self.refresh()
|
self.refresh()
|
||||||
try:
|
try:
|
||||||
@ -275,7 +275,7 @@ class GithubPage(BasePageObject):
|
|||||||
except TimeoutException:
|
except TimeoutException:
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
pass
|
pass
|
||||||
pytest.fail('Contract is not deployed in %s minutes!' % str(wait / 60))
|
pytest.fail('Contract is not deployed in %s minutes!' % str(wait * 10 / 60))
|
||||||
|
|
||||||
# cloning via HTTPS
|
# cloning via HTTPS
|
||||||
def clone_repo(self, initial_repo=None, username=None, repo_name=None, repo_folder='test_repo'):
|
def clone_repo(self, initial_repo=None, username=None, repo_name=None, repo_folder='test_repo'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user