syncloud-lib 310__tar.gz → 312__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-310/syncloud_lib.egg-info → syncloud-lib-312}/PKG-INFO +1 -1
- {syncloud-lib-310 → syncloud-lib-312/syncloud_lib.egg-info}/PKG-INFO +1 -1
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/integration/conftest.py +9 -3
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/integration/selenium_wrapper.py +3 -7
- syncloud-lib-312/version +1 -0
- syncloud-lib-310/version +0 -1
- {syncloud-lib-310 → syncloud-lib-312}/LICENSE +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/MANIFEST.in +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/setup.cfg +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/setup.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloud_lib.egg-info/SOURCES.txt +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloud_lib.egg-info/dependency_links.txt +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloud_lib.egg-info/requires.txt +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloud_lib.egg-info/top_level.txt +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/__init__.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/application/__init__.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/application/config.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/application/connection.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/application/paths.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/application/ports.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/application/service.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/application/storage.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/application/urls.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/application/users.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/error.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/fs.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/gen.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/http.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/integration/__init__.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/integration/device.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/integration/hosts.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/integration/installer.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/integration/loop.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/integration/screenshots.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/integration/ssh.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/json/__init__.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/json/convertible.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/linux.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/syncloudlib/logger.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/application/test_connection.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/application/test_paths.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/application/test_service.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/application/test_storage.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/application/test_urls.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/integration/test_hosts.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/integration/test_installer.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/integration/test_loop.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/integration/test_ssh.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/json/test_convertible.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/test_fs.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/test_gen.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/test_linux.py +0 -0
- {syncloud-lib-310 → syncloud-lib-312}/test/test_logger.py +0 -0
|
@@ -159,8 +159,8 @@ def new_chrome_driver(user_agent, hub_url):
|
|
|
159
159
|
)
|
|
160
160
|
|
|
161
161
|
|
|
162
|
-
@pytest.fixture(scope="
|
|
163
|
-
def driver(ui_mode, browser, browser_height):
|
|
162
|
+
@pytest.fixture(scope="session")
|
|
163
|
+
def driver(ui_mode, browser, browser_height, request):
|
|
164
164
|
hub_url = 'http://selenium:4444/wd/hub'
|
|
165
165
|
user_agent = "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/100.0"
|
|
166
166
|
width = 1024
|
|
@@ -173,6 +173,12 @@ def driver(ui_mode, browser, browser_height):
|
|
|
173
173
|
else:
|
|
174
174
|
driver = new_chrome_driver(user_agent, hub_url)
|
|
175
175
|
driver.set_window_rect(0, 0, width, browser_height)
|
|
176
|
+
|
|
177
|
+
def driver_quit():
|
|
178
|
+
driver.quit()
|
|
179
|
+
|
|
180
|
+
request.addfinalizer(driver_quit)
|
|
181
|
+
|
|
176
182
|
return driver
|
|
177
183
|
|
|
178
184
|
|
|
@@ -225,6 +231,6 @@ def selenium_timeout():
|
|
|
225
231
|
return 300
|
|
226
232
|
|
|
227
233
|
|
|
228
|
-
@pytest.fixture(scope="
|
|
234
|
+
@pytest.fixture(scope="session")
|
|
229
235
|
def selenium(driver, ui_mode, screenshot_dir, app_domain, selenium_timeout, browser):
|
|
230
236
|
return SeleniumWrapper(driver, ui_mode, screenshot_dir, app_domain, selenium_timeout, browser)
|
|
@@ -94,10 +94,6 @@ class SeleniumWrapper:
|
|
|
94
94
|
print("browser logs are only supported in chrome")
|
|
95
95
|
return
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
print(entry)
|
|
101
|
-
except Exception as e:
|
|
102
|
-
print("error")
|
|
103
|
-
print(e)
|
|
97
|
+
print("browser log")
|
|
98
|
+
for entry in self.driver.get_log('browser'):
|
|
99
|
+
print(entry)
|
syncloud-lib-312/version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
312
|
syncloud-lib-310/version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
310
|
|
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
|