syncloud-lib 349__tar.gz → 350__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {syncloud_lib-349/syncloud_lib.egg-info → syncloud_lib-350}/PKG-INFO +1 -1
- {syncloud_lib-349 → syncloud_lib-350/syncloud_lib.egg-info}/PKG-INFO +1 -1
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/integration/selenium_wrapper.py +3 -7
- syncloud_lib-350/version +1 -0
- syncloud_lib-349/version +0 -1
- {syncloud_lib-349 → syncloud_lib-350}/LICENSE +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/MANIFEST.in +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/setup.cfg +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/setup.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloud_lib.egg-info/SOURCES.txt +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloud_lib.egg-info/dependency_links.txt +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloud_lib.egg-info/requires.txt +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloud_lib.egg-info/top_level.txt +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/__init__.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/application/__init__.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/application/config.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/application/connection.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/application/paths.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/application/ports.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/application/service.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/application/storage.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/application/urls.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/application/users.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/error.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/fs.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/http.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/integration/__init__.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/integration/conftest.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/integration/device.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/integration/hosts.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/integration/installer.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/integration/loop.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/integration/screenshots.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/integration/ssh.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/json/__init__.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/json/convertible.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/linux.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/syncloudlib/logger.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/application/test_connection.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/application/test_paths.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/application/test_service.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/application/test_storage.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/application/test_urls.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/integration/test_hosts.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/integration/test_installer.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/integration/test_loop.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/integration/test_ssh.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/json/test_convertible.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/test_fs.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/test_linux.py +0 -0
- {syncloud_lib-349 → syncloud_lib-350}/test/test_logger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import time
|
|
2
2
|
|
|
3
|
-
from
|
|
3
|
+
from retrying import retry
|
|
4
4
|
|
|
5
5
|
from syncloudlib.integration.screenshots import screenshots
|
|
6
6
|
from selenium.webdriver.support.ui import WebDriverWait
|
|
@@ -76,7 +76,7 @@ class SeleniumWrapper:
|
|
|
76
76
|
self.screenshot('exception', False)
|
|
77
77
|
return False
|
|
78
78
|
|
|
79
|
-
@retry(
|
|
79
|
+
@retry(stop_max_attempt_number=3, wait_fixed=2000)
|
|
80
80
|
def wait_or_screenshot(self, method, throw=True):
|
|
81
81
|
log.info('wait_or_screenshot')
|
|
82
82
|
try:
|
|
@@ -120,7 +120,7 @@ class SeleniumWrapper:
|
|
|
120
120
|
for entry in self.driver.get_log('browser'):
|
|
121
121
|
log.info(entry)
|
|
122
122
|
|
|
123
|
-
@retry(
|
|
123
|
+
@retry(stop_max_attempt_number=10, wait_fixed=2000)
|
|
124
124
|
def element_by_js(self, js):
|
|
125
125
|
try:
|
|
126
126
|
elem = self.driver.execute_script('return ' + js)
|
|
@@ -130,7 +130,3 @@ class SeleniumWrapper:
|
|
|
130
130
|
self.screenshot('exception')
|
|
131
131
|
raise
|
|
132
132
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
syncloud_lib-350/version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
350
|
syncloud_lib-349/version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
349
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|