check-tests
check-tests copied to clipboard
Parameter in parameterised test incorrectly parsed on API side
Describe the bug Testomatio API incorrectly parse parameterised test value
To Reproduce Execute parameterised test Ex. request to API
{
'artifacts': [],
'code': None,
'example': None,
'message': None,
'run_time': 0.7919288370176218,
'stack': None,
'status': None,
'steps': None,
'suite_id': None,
'suite_title': 'test_local_file_operations_via_cli.py',
'test_id': 'f30bd3b0',
'title': 'Version 1.0.0 @Tf30bd3b0'
}
Expected behavior
Test is displayed in test run with 1.0.0 parameter
Actual behaviour
Test is displayed in test run with 1 parameter
Screenshots
additionally, values with spaces are incorrectly handled as well. If value with spaces supplied - BE just takes value before first space and strip everything else
@tikolakin is this still relevant, can we close this?