-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Hi,
I'm using outsystems-pipeline (https://github.com/OutSystems/outsystems-pipeline) Python package to run automated deployments (using GitHub actions).
Everything is working fine, however now, I'm trying to run automatically tests, where I'm getting an error because we believe that there is an issue in the python. script.
Concretelly, we're executing https://github.com/OutSystems/outsystems-pipeline/blob/0bea1fc1970f8b99fe86c07a6f403e42988e221d/outsystems/pipeline/generate_unit_testing_assembly.py, and I'm getting this error:
_Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "/home/runner/work/OutSystems-Test-XC/OutSystems-Test-XC/DEV/lib/python3.12/site-packages/outsystems/pipeline/generate_unit_testing_assembly.py", line 156, in
main(artifact_dir, apps, bdd_http_proto, bdd_url, bdd_api_endpoint, bdd_version,
File "/home/runner/work/OutSystems-Test-XC/OutSystems-Test-XC/DEV/lib/python3.12/site-packages/outsystems/pipeline/generate_unit_testing_assembly.py", line 55, in main
bdd_test += [{"EspaceName": test_endpoint["BDDTestEndpointsInfo"]["EspaceName"],
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'BDDTestEndpointsInfo'
In fact, is trying to find a key 'BDDTestEndpointsInfo', that not exists, as you can see in the attached file generated by the outsystems-pipeline(BDDClientTestApp.probe.cache).
Our guessing is that we're using BDD FRAMEWORK CLIENT SIDE, instead of BDD FRAMEWORK. You can check the code here https://github.com/OutSystems/outsystems-pipeline/blob/0bea1fc1970f8b99fe86c07a6f403e42988e221d/outsystems/pipeline/generate_unit_testing_assembly.py LINE 53.
So, seems that the python package don't allow to execute client side testing...
However, if we invoke directly in the browser, it works.