systelab / allure-reporter

Printable report generation for Allure
4 stars 2 forks source link

Defect using 'Update Test Case' option: data in other fields are deleted #83

Closed ManelMoreno closed 2 years ago

ManelMoreno commented 2 years ago

When the user does the 'Update Test Case' option, in order to update the Description and the Steps to a Test Case in JAMA, other fields than the expected ones are affected being deleted. In the case detected 'Test Design Status' and 'Last Tested Version' values are removed (see image attached). This is not expected at all.

This error blocks the use of this feature.

Steps to reproduce the behavior:

  1. Go to Allure Reporter v.2.0
  2. Drop a jason or xml with a TC result existing in JAMA, with values on all TC fields.
  3. Log in JAMA and Click on 'Update Test Case'.
  4. Go to JAMA to check that the TC has the uploaded Description and Steps and See that values in other fields have been deleted by error UpdateSteps_error . Note: You probably will not see this error using the item 'Test Case (IL)', as it does not use the deleted fields mentioned here.
olgapuig commented 2 years ago

MicrosoftTeams-image (45)

ManelMoreno commented 2 years ago

After evaluation, we have consider that the best way to address this issue would be changing the way the item is being updated. It is just needed to update the fields 'Description' and 'Steps', regardless the presence or values of any other field.

SCoboG commented 2 years ago

Defect retested with an exploratory Test. The result of the testing has been PASS

See the evidences attached Evidences item #83.zip :

ManelMoreno commented 2 years ago

@danipiques Are you waiting the fix of the other two to include this one in a regression? Susana set the exploratory to Pass, so we should trust it is correcltly fixed.

danipiques commented 2 years ago

Hello @ManelMoreno , I'm going to check it with @SCoboG. Thanks!

danipiques commented 2 years ago

Verified, in Allure 3.0 only the description and the steps are updated with the action "Update test case" on the element "Test Case" (see evidence) Allure #83