syncloud-lib 346__tar.gz → 347__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-346/syncloud_lib.egg-info → syncloud_lib-347}/PKG-INFO +1 -1
- {syncloud_lib-346 → syncloud_lib-347/syncloud_lib.egg-info}/PKG-INFO +1 -1
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/integration/selenium_wrapper.py +8 -3
- syncloud_lib-347/version +1 -0
- syncloud_lib-346/version +0 -1
- {syncloud_lib-346 → syncloud_lib-347}/LICENSE +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/MANIFEST.in +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/setup.cfg +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/setup.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloud_lib.egg-info/SOURCES.txt +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloud_lib.egg-info/dependency_links.txt +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloud_lib.egg-info/requires.txt +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloud_lib.egg-info/top_level.txt +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/__init__.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/application/__init__.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/application/config.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/application/connection.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/application/paths.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/application/ports.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/application/service.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/application/storage.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/application/urls.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/application/users.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/error.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/fs.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/http.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/integration/__init__.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/integration/conftest.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/integration/device.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/integration/hosts.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/integration/installer.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/integration/loop.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/integration/screenshots.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/integration/ssh.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/json/__init__.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/json/convertible.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/linux.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/syncloudlib/logger.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/application/test_connection.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/application/test_paths.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/application/test_service.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/application/test_storage.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/application/test_urls.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/integration/test_hosts.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/integration/test_installer.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/integration/test_loop.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/integration/test_ssh.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/json/test_convertible.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/test_fs.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/test_linux.py +0 -0
- {syncloud_lib-346 → syncloud_lib-347}/test/test_logger.py +0 -0
|
@@ -81,6 +81,7 @@ class SeleniumWrapper:
|
|
|
81
81
|
self.wait_driver.until(method)
|
|
82
82
|
return True
|
|
83
83
|
except Exception as e:
|
|
84
|
+
log.warn(e)
|
|
84
85
|
self.screenshot('exception', throw)
|
|
85
86
|
if throw:
|
|
86
87
|
raise e
|
|
@@ -102,7 +103,7 @@ class SeleniumWrapper:
|
|
|
102
103
|
return
|
|
103
104
|
retry += 1
|
|
104
105
|
time.sleep(1)
|
|
105
|
-
log.
|
|
106
|
+
log.warn('retrying screenshot {0}'.format(retry))
|
|
106
107
|
|
|
107
108
|
def open_app(self, path=''):
|
|
108
109
|
self.driver.get("https://{0}{1}".format(self.app_domain, path))
|
|
@@ -112,9 +113,9 @@ class SeleniumWrapper:
|
|
|
112
113
|
log.debug("browser logs are only supported in chrome")
|
|
113
114
|
return
|
|
114
115
|
|
|
115
|
-
log.
|
|
116
|
+
log.info("browser log")
|
|
116
117
|
for entry in self.driver.get_log('browser'):
|
|
117
|
-
log.
|
|
118
|
+
log.info(entry)
|
|
118
119
|
|
|
119
120
|
@retry(exceptions=Exception, tries=10, delay=1, backoff=2)
|
|
120
121
|
def element_by_js(self, js):
|
|
@@ -126,3 +127,7 @@ class SeleniumWrapper:
|
|
|
126
127
|
self.screenshot('exception')
|
|
127
128
|
raise
|
|
128
129
|
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
syncloud_lib-347/version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
347
|
syncloud_lib-346/version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
346
|
|
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
|