diff options
author | 2020-09-09 10:18:15 +0000 | |
---|---|---|
committer | 2020-09-09 10:32:31 +0000 | |
commit | c8cd23a64ef20436bac38923f6dc7f77e7b95c08 (patch) | |
tree | a00946c019dc3372e9e00d7ee2889f95e5d6049e /src/test/resources/karatetest/features | |
parent | e44331581196644015a40dcaa38a86ce0f84c76c (diff) |
Preparing the request payload (action = delete) for calling SO macro flow
code changes for delete action. Issue-ID: EXTAPI-448
Change-Id: I6bb9786660f6760c15008132e2c254e7f9b89654
Signed-off-by: sujitsatapathy <SS00626741@techmahindra.com>
Diffstat (limited to 'src/test/resources/karatetest/features')
-rw-r--r-- | src/test/resources/karatetest/features/02--ServiceOrder.feature | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/resources/karatetest/features/02--ServiceOrder.feature b/src/test/resources/karatetest/features/02--ServiceOrder.feature index f5985a9..4f89c1a 100644 --- a/src/test/resources/karatetest/features/02--ServiceOrder.feature +++ b/src/test/resources/karatetest/features/02--ServiceOrder.feature @@ -234,6 +234,19 @@ Given path 'serviceOrder',serviceOrderId When method delete Then status 204 +Scenario: testCheckServiceOrderDeleteActionForMacro +Given path 'serviceOrder' +And request data[18] +When method post +Then status 201 +And def serviceOrderId = $.id +Given path 'serviceOrder',serviceOrderId +When method get +Then status 200 +Given path 'serviceOrder',serviceOrderId +When method delete +Then status 204 + Scenario: testCheckServiceOrderDeleteRejected Given path 'serviceOrder' And request data[10] |