Forum Discussion

ArnaudJ's avatar
ArnaudJ
New Contributor
1 month ago

Assertions Panel issue to update assertions since update 3.63

Unable to edit or reorder assertions in a test step after making changes in the Assertions panel.

After modifying assertions in the Assertions panel (for example, deleting an assertion) it becomes impossible to further edit the remaining assertions in the test step. Specifically:

Assertions cannot be moved or reordered.

Remaining assertions cannot be edited or removed.

3 Replies

  • I am using ReadyAPI 3.63.0 and I don't see that problem.

    I created a new project.

    Imported an OpenAPI spec.

    Create functional tests from the API.

    Opened the first endpoint (GET /claims) and added an Assertion and a Smart Assertion.

    Deleted the assertion (HTTP status code).

    I was able to add more assertions. I could move them around in the Assertions area. I was able to delete them, add to them, etc.

    Could you give some more details as to what you are seeing?

    • ArnaudJ's avatar
      ArnaudJ
      New Contributor

      For instance, I have a list of XPath assertion,

      I clicked on one of the assertions, but it highlights me the last one (even though it is not the one I clicked on), then click on the delete icon, and it shows me the delete popup for the assertion I clicked on (not the last then), after I deleted it the last item is visually removed from the list.

      Then the list seems frozen, I can still use the buttons to move the assertions and add assertions, not delete, but nothing is visually happening in the assertion panel list

      • ReadyAPI 3.63.0

        I added a few XPath Match assertions to my functional tests for:

        GET /lifestyle-advice (i made up an OpenAPI spec)

        I added a few assertions:

        I don't have a problem selecting an assertion, dragging and dropping, or running the tests. If I select any of the assertions none of the others are being accidentally selected.

        There is something going on with your set-up.

        How many assertions do you have (maybe you are running into an arbitrary limit)?

        I am now sure how you get to a status of UNKNOWN. Mine always say PASS or FAIL:

        I think I need more info.