check-tests icon indicating copy to clipboard operation
check-tests copied to clipboard

Parameter in parameterised test incorrectly parsed on API side

Open tikolakin opened this issue 1 year ago • 1 comments

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 image image

tikolakin avatar Feb 26 '24 11:02 tikolakin

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 avatar Mar 12 '24 23:03 tikolakin

@tikolakin is this still relevant, can we close this?

DavertMik avatar Aug 19 '24 10:08 DavertMik