syncloud-lib 314__tar.gz → 318__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-314/syncloud_lib.egg-info → syncloud-lib-318}/PKG-INFO +1 -1
- {syncloud-lib-314 → syncloud-lib-318/syncloud_lib.egg-info}/PKG-INFO +1 -1
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/integration/selenium_wrapper.py +16 -4
- syncloud-lib-318/version +1 -0
- syncloud-lib-314/version +0 -1
- {syncloud-lib-314 → syncloud-lib-318}/LICENSE +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/MANIFEST.in +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/setup.cfg +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/setup.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloud_lib.egg-info/SOURCES.txt +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloud_lib.egg-info/dependency_links.txt +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloud_lib.egg-info/requires.txt +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloud_lib.egg-info/top_level.txt +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/__init__.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/application/__init__.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/application/config.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/application/connection.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/application/paths.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/application/ports.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/application/service.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/application/storage.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/application/urls.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/application/users.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/error.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/fs.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/gen.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/http.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/integration/__init__.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/integration/conftest.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/integration/device.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/integration/hosts.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/integration/installer.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/integration/loop.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/integration/screenshots.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/integration/ssh.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/json/__init__.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/json/convertible.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/linux.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/syncloudlib/logger.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/application/test_connection.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/application/test_paths.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/application/test_service.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/application/test_storage.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/application/test_urls.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/integration/test_hosts.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/integration/test_installer.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/integration/test_loop.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/integration/test_ssh.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/json/test_convertible.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/test_fs.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/test_gen.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/test_linux.py +0 -0
- {syncloud-lib-314 → syncloud-lib-318}/test/test_logger.py +0 -0
|
@@ -30,7 +30,10 @@ class SeleniumWrapper:
|
|
|
30
30
|
def find_by(self, by, value):
|
|
31
31
|
#self.wait_or_screenshot(expected_conditions.visibility_of_element_located((by, value)))
|
|
32
32
|
self.wait_or_screenshot(expected_conditions.presence_of_element_located((by, value)))
|
|
33
|
-
|
|
33
|
+
try:
|
|
34
|
+
return self.driver.find_element(by, value)
|
|
35
|
+
except Exception as e:
|
|
36
|
+
self.screenshot('exception', True)
|
|
34
37
|
|
|
35
38
|
def invisible_by(self, by, value):
|
|
36
39
|
self.wait_or_screenshot(expected_conditions.invisibility_of_element_located((by, value)))
|
|
@@ -38,15 +41,24 @@ class SeleniumWrapper:
|
|
|
38
41
|
def click_by(self, by, value):
|
|
39
42
|
#self.wait_or_screenshot(expected_conditions.element_to_be_clickable((by, value)))
|
|
40
43
|
self.wait_or_screenshot(expected_conditions.presence_of_element_located((by, value)))
|
|
41
|
-
|
|
44
|
+
try:
|
|
45
|
+
self.driver.find_element(by, value).click()
|
|
46
|
+
except Exception as e:
|
|
47
|
+
self.screenshot('exception', True)
|
|
42
48
|
|
|
43
49
|
def clickable_by(self, by, value):
|
|
44
50
|
self.wait_or_screenshot(expected_conditions.element_to_be_clickable((by, value)))
|
|
45
|
-
|
|
51
|
+
try:
|
|
52
|
+
return self.driver.find_element(by, value)
|
|
53
|
+
except Exception as e:
|
|
54
|
+
self.screenshot('exception', True)
|
|
46
55
|
|
|
47
56
|
def present_by(self, by, value):
|
|
48
57
|
self.wait_or_screenshot(expected_conditions.presence_of_element_located((by, value)))
|
|
49
|
-
|
|
58
|
+
try:
|
|
59
|
+
return self.driver.find_element(by, value)
|
|
60
|
+
except Exception as e:
|
|
61
|
+
self.screenshot('exception', True)
|
|
50
62
|
|
|
51
63
|
def exists_by(self, by, value, timeout=10):
|
|
52
64
|
driver = WebDriverWait(self.driver, timeout)
|
syncloud-lib-318/version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
318
|
syncloud-lib-314/version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
314
|
|
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
|
|
File without changes
|
|
File without changes
|