mangoautomation 1.0.38__py3-none-any.whl → 1.0.39__py3-none-any.whl
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.
Potentially problematic release.
This version of mangoautomation might be problematic. Click here for more details.
- mangoautomation/uidrive/_async_element.py +3 -1
- mangoautomation/uidrive/_sync_element.py +3 -0
- {mangoautomation-1.0.38.dist-info → mangoautomation-1.0.39.dist-info}/METADATA +1 -1
- {mangoautomation-1.0.38.dist-info → mangoautomation-1.0.39.dist-info}/RECORD +7 -7
- {mangoautomation-1.0.38.dist-info → mangoautomation-1.0.39.dist-info}/LICENSE +0 -0
- {mangoautomation-1.0.38.dist-info → mangoautomation-1.0.39.dist-info}/WHEEL +0 -0
- {mangoautomation-1.0.38.dist-info → mangoautomation-1.0.39.dist-info}/top_level.txt +0 -0
|
@@ -41,7 +41,6 @@ class AsyncElement(AsyncWebDevice, AndroidDriver):
|
|
|
41
41
|
self.base_data.log.debug(f'不存在这个类型,如果是非管理员看到这种提示,请联系管理员')
|
|
42
42
|
raise Exception('不存在的设备类型')
|
|
43
43
|
|
|
44
|
-
|
|
45
44
|
async def element_main(self, element_model: ElementModel, element_data: dict | None = None) -> ElementResultModel:
|
|
46
45
|
self.element_model = element_model
|
|
47
46
|
self.element_data = element_data
|
|
@@ -93,8 +92,11 @@ class AsyncElement(AsyncWebDevice, AndroidDriver):
|
|
|
93
92
|
async def __main(self):
|
|
94
93
|
try:
|
|
95
94
|
self.element_model.loc = self.base_data.test_data.replace(self.element_model.loc)
|
|
95
|
+
self.element_result_model.loc = self.element_model.loc
|
|
96
96
|
self.element_model.sleep = self.base_data.test_data.replace(self.element_model.sleep)
|
|
97
|
+
self.element_result_model.sleep = self.element_model.sleep
|
|
97
98
|
self.element_model.sub = self.base_data.test_data.replace(self.element_model.sub)
|
|
99
|
+
self.element_result_model.sub = self.element_model.sub
|
|
98
100
|
except MangoAutomationError as error:
|
|
99
101
|
self.base_data.log.error(f'操作元素解析数据失败,类型:{type(error)}, 详情:{error}')
|
|
100
102
|
raise MangoAutomationError(error.code, error.msg)
|
|
@@ -92,8 +92,11 @@ class SyncElement(SyncWebDevice, AndroidDriver):
|
|
|
92
92
|
def __main(self):
|
|
93
93
|
try:
|
|
94
94
|
self.element_model.loc = self.base_data.test_data.replace(self.element_model.loc)
|
|
95
|
+
self.element_result_model.loc = self.element_model.loc
|
|
95
96
|
self.element_model.sleep = self.base_data.test_data.replace(self.element_model.sleep)
|
|
97
|
+
self.element_result_model.sleep = self.element_model.sleep
|
|
96
98
|
self.element_model.sub = self.base_data.test_data.replace(self.element_model.sub)
|
|
99
|
+
self.element_result_model.sub = self.element_model.sub
|
|
97
100
|
except MangoAutomationError as error:
|
|
98
101
|
self.base_data.log.debug(f'操作元素解析数据失败,类型:{type(error)}, 详情:{error}')
|
|
99
102
|
raise MangoAutomationError(error.code, error.msg)
|
|
@@ -10,10 +10,10 @@ mangoautomation/models/_ui_model.py,sha256=IGophozQMO-NQjM_DPdlwud484yfWQw1CRwbD
|
|
|
10
10
|
mangoautomation/tools/__init__.py,sha256=i0rZF_gS0h1Rd0bMhgDSJp4JbEb3rm33zg-MDEX7KdE,342
|
|
11
11
|
mangoautomation/tools/_mate.py,sha256=9lk_EJnAX_OyXbe5WacyHkkcEr2ScBgasl6eUnlklWA,405
|
|
12
12
|
mangoautomation/uidrive/__init__.py,sha256=Tk_gh4Qg2qnewEGxa-7Id4fkQLY3fvQE4X7JB0BEscY,577
|
|
13
|
-
mangoautomation/uidrive/_async_element.py,sha256=
|
|
13
|
+
mangoautomation/uidrive/_async_element.py,sha256=gXHsUxZxmiYvUNq8RqPP3UGupOscTvz_mD7xI2qapRA,13424
|
|
14
14
|
mangoautomation/uidrive/_base_data.py,sha256=ur2Ts40MAhOYXb0vGVXZdSwEVCI3Csri9I9f1pw1r4Y,3766
|
|
15
15
|
mangoautomation/uidrive/_driver_object.py,sha256=Re8j6VLHKfwW2VFdi-1XFRuix8tRBLcHYRBLVF6CApE,1962
|
|
16
|
-
mangoautomation/uidrive/_sync_element.py,sha256=
|
|
16
|
+
mangoautomation/uidrive/_sync_element.py,sha256=s9wb_RUCDcyONhRghe5T0I7zpTfvzRK3DhlxmT_DyVk,13242
|
|
17
17
|
mangoautomation/uidrive/android/__init__.py,sha256=FSIzfPane33QEj6bXslpd8bF1xGCDwMAHBOrpNzdyE4,5874
|
|
18
18
|
mangoautomation/uidrive/android/_application.py,sha256=frvRyqUlx6__3j4xQdaJ4SOnEnipR3uPCOnWKDrkT7Y,2771
|
|
19
19
|
mangoautomation/uidrive/android/_assertion.py,sha256=xkSBdjSfAbYtidHWWWY7Ko2OYaHi9OcZZOlnqIUT-FM,3611
|
|
@@ -48,8 +48,8 @@ mangoautomation/uidrive/web/sync_web/_page.py,sha256=MNekcL7o5YXEloeuvi3YrpOZxGh
|
|
|
48
48
|
tests/__init__.py,sha256=UhCNFqiVjxdh4CXESNo4oE7qfjpYYVkeHbSE5-7LGDY,125
|
|
49
49
|
tests/test_ui_and.py,sha256=4k0_3bx_k2KbZifeRWGK65sxtdiPUOjkNzZ5oxjrc18,672
|
|
50
50
|
tests/test_ui_web.py,sha256=MFaUN8O5qKOMMgyk2eelhKZsYcSJm0Do6pCgsdBZEH4,2765
|
|
51
|
-
mangoautomation-1.0.
|
|
52
|
-
mangoautomation-1.0.
|
|
53
|
-
mangoautomation-1.0.
|
|
54
|
-
mangoautomation-1.0.
|
|
55
|
-
mangoautomation-1.0.
|
|
51
|
+
mangoautomation-1.0.39.dist-info/LICENSE,sha256=03WP-mgFmo8ofRYDe1HVDQUEUKQZ2q6P6Q-2A4c-46A,1085
|
|
52
|
+
mangoautomation-1.0.39.dist-info/METADATA,sha256=6BsaDv5ErPZqn_7zNNoV2EDK59wjRBWt0cyZEkcK4Yc,626
|
|
53
|
+
mangoautomation-1.0.39.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
54
|
+
mangoautomation-1.0.39.dist-info/top_level.txt,sha256=g-uCmjvEODG8WFbmwbGM0-G0zHntHv8ZsS0PQRaMGtE,22
|
|
55
|
+
mangoautomation-1.0.39.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|