testmu-playwright-python 0.1.3__tar.gz → 0.1.4__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.
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/PKG-INFO +1 -1
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/pyproject.toml +1 -1
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/_http.py +14 -1
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu_playwright_python.egg-info/PKG-INFO +1 -1
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/README.md +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/setup.cfg +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/__init__.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_capability.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_config.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_configure.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_decorator.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_errors.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_heal_patch.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/__init__.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/assertion.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/drag.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/execute_api.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/execute_db.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/execute_js.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/kane_cli.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/math.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/network.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/smartui.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/tabs.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/vision.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/wait.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_matchers.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_reporter/__init__.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_reporter/local.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_reporter/lt.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_reporter/null.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_session.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_step.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_test_config.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_vars.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/playwright_async/__init__.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu_playwright_python.egg-info/SOURCES.txt +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu_playwright_python.egg-info/dependency_links.txt +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu_playwright_python.egg-info/requires.txt +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu_playwright_python.egg-info/top_level.txt +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_capability.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_config.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_configure.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_decorator.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_heal_patch.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_assertion.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_execute_api.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_execute_db.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_execute_js.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_network_math.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_remaining.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_tabs_drag.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_vision.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helpers_stub.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_integration.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_step.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_test_config.py +0 -0
- {testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_vars.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testmu-playwright-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Testmu binding for Playwright Python — thin test runtime for LambdaTest exports
|
|
5
5
|
Author-email: LambdaTest <engineering@lambdatest.com>
|
|
6
6
|
License-Expression: LicenseRef-Proprietary
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "testmu-playwright-python"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.4"
|
|
8
8
|
description = "Testmu binding for Playwright Python — thin test runtime for LambdaTest exports"
|
|
9
9
|
requires-python = ">=3.11"
|
|
10
10
|
license = "LicenseRef-Proprietary"
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All smart helpers (vision, assertion, wait, network) call LT-hosted
|
|
4
4
|
endpoints that require Basic auth via LT_USERNAME + LT_ACCESS_KEY.
|
|
5
|
+
|
|
6
|
+
Also threads session tracking headers (x-session-id, x-source) so the
|
|
7
|
+
LT backend can distinguish local runs from HyperExecute runs. Forge
|
|
8
|
+
sets TESTMUAI_SOURCE=hyperexecute in all cloud YAML paths; locally we
|
|
9
|
+
default to "local".
|
|
5
10
|
"""
|
|
6
11
|
import base64
|
|
7
12
|
import os
|
|
@@ -10,11 +15,19 @@ import aiohttp
|
|
|
10
15
|
|
|
11
16
|
|
|
12
17
|
def create_session(**kwargs) -> aiohttp.ClientSession:
|
|
13
|
-
"""Create an aiohttp session with LT Basic auth headers."""
|
|
18
|
+
"""Create an aiohttp session with LT Basic auth + tracking headers."""
|
|
14
19
|
headers = kwargs.pop("headers", {})
|
|
20
|
+
|
|
15
21
|
username = os.getenv("LT_USERNAME", "")
|
|
16
22
|
access_key = os.getenv("LT_ACCESS_KEY", "")
|
|
17
23
|
if username and access_key:
|
|
18
24
|
auth = base64.b64encode(f"{username}:{access_key}".encode()).decode()
|
|
19
25
|
headers["Authorization"] = f"Basic {auth}"
|
|
26
|
+
|
|
27
|
+
session_id = os.getenv("TESTMUAI_SESSION_ID", "")
|
|
28
|
+
if session_id:
|
|
29
|
+
headers["x-session-id"] = session_id
|
|
30
|
+
|
|
31
|
+
headers["x-source"] = os.getenv("TESTMUAI_SOURCE", "local")
|
|
32
|
+
|
|
20
33
|
return aiohttp.ClientSession(headers=headers, **kwargs)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testmu-playwright-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Testmu binding for Playwright Python — thin test runtime for LambdaTest exports
|
|
5
5
|
Author-email: LambdaTest <engineering@lambdatest.com>
|
|
6
6
|
License-Expression: LicenseRef-Proprietary
|
|
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
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/__init__.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/assertion.py
RENAMED
|
File without changes
|
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/execute_api.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/execute_db.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/execute_js.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/kane_cli.py
RENAMED
|
File without changes
|
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/network.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_helpers/smartui.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/testmu/_reporter/__init__.py
RENAMED
|
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
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_assertion.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_execute_api.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_execute_db.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_execute_js.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_network_math.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_remaining.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_tabs_drag.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helper_vision.py
RENAMED
|
File without changes
|
{testmu_playwright_python-0.1.3 → testmu_playwright_python-0.1.4}/tests/test_helpers_stub.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|