alttester / alttester/AltTester-Unity-SDK

The `test_wait_for_component_property_assembly_not_found` test fails on WebGL in pipeline

Đang mở
#1,465 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug no version triaged webgl
Ngôn ngữ chính
C#
Star
121
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Here is the full stack trace:

```
self =

def test_wait_for_component_property_assembly_not_found(self):
componentName = "AltExampleScriptCapsule"
propertyName = "InstrumentationSettings.AltServerPort"
alt_object = self.altdriver.find_object(By.NAME, "AltTesterPrefab")
with pytest.raises(exceptions.AssemblyNotFoundException) as execinfo:
> alt_object.wait_for_component_property(
componentName, propertyName, "13000", "Assembly-CSharpTest")

Bindings~/python/tests/integration/test_scene01.py:301:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Bindings~/python/alttester/altobject.py:185: in wait_for_component_property
return commands.WaitForComponentProperty.run(
Bindings~/python/alttester/commands/base_command.py:140: in run
response = command.execute()
Bindings~/python/alttester/commands/FindObjects/wait_for_component_property.py:38: in execute
property_found = self.altObject.get_component_property(
Bindings~/python/alttester/altobject.py:207: in get_component_property
return commands.GetComponentProperty.run(
Bindings~/python/alttester/commands/base_command.py:140: in run
response = command.execute()
Bindings~/python/alttester/commands/ObjectCommands/get_component_property.py:47: in execute
return self.send()
Bindings~/python/alttester/commands/base_command.py:210: in send
self.handle_response(response)
Bindings~/python/alttester/commands/base_command.py:169: in handle_response
self.handle_errors(error)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self =
error = {'message': 'Property InstrumentationSettings not found', 'trace': ' at AltTester.AltTesterUnitySDK.Commands.AltRefle....AltTesterUnitySDK.AltRunner.Update () [0x00000] in <00000000000000000000000000000000>:0 ', 'type': 'propertyNotFound'}

def handle_errors(self, error):
error_map = {
"ALTTESTERNotAddedAsDefineVariable": exceptions.AltTesterInputModuleException,
"notFound": exceptions.NotFoundException,
"sceneNotFound": exceptions.SceneNotFoundException,
"objectNotFound": exceptions.ObjectNotFoundException,
"cameraNotFound": exceptions.CameraNotFoundException,
"propertyNotFound": exceptions.PropertyNotFoundException,
"methodNotFound": exceptions.MethodNotFoundException,
"methodWithGivenParametersNotFound": exceptions.MethodWithGivenParametersNotFoundException,
"componentNotFound": exceptions.ComponentNotFoundException,
"assemblyNotFound": exceptions.AssemblyNotFoundException,
"propertyCannotBeSet": exceptions.PropertyCannotBeSetException,
"couldNotPerformOperation": exceptions.CouldNotPerformOperationException,
"couldNotParseJsonString": exceptions.CouldNotParseJsonStringException,
"failedToParseMethodArguments": exceptions.FailedToParseArgumentsException,
"formatException": exceptions.FormatException,
"invalidParameterType": exceptions.InvalidParameterTypeException,
"invalidPath": exceptions.InvalidPathException,
"nullReferenceException": exceptions.NotFoundException,
"unknownError": exceptions.UnknownErrorException
}

exception = error_map.get(error.get("type"), exceptions.UnknownErrorException)
> raise exception(error.get("message"))
E alttester.exceptions.PropertyNotFoundException: Property InstrumentationSettings not found

Bindings~/python/alttester/commands/base_command.py:199: PropertyNotFoundException
```

The corresponding tests C# and Java tests also fail. See for more details: https://github.com/alttester/AltTester-Unity-SDK/actions/runs/7462684526/job/20306866714#step:7:32

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.