@@ -82,6 +82,14 @@ Feature: Reference Tables
8282 When the request is sent
8383 Then the response status is 400 Bad Request
8484
85+ @generated @skip @team:DataDog/redapl-experiences
86+ Scenario : Delete rows returns "Conflict" response
87+ Given new "DeleteRows" request
88+ And request contains "id" parameter from "REPLACE.ME"
89+ And body with value {"data" : [{"id" : "primary_key_value" , "type" : "row" }]}
90+ When the request is sent
91+ Then the response status is 409 Conflict
92+
8593 @generated @skip @team:DataDog/redapl-experiences
8694 Scenario : Delete rows returns "Not Found" response
8795 Given new "DeleteRows" request
@@ -90,6 +98,14 @@ Feature: Reference Tables
9098 When the request is sent
9199 Then the response status is 404 Not Found
92100
101+ @generated @skip @team:DataDog/redapl-experiences
102+ Scenario : Delete rows returns "Precondition Failed" response
103+ Given new "DeleteRows" request
104+ And request contains "id" parameter from "REPLACE.ME"
105+ And body with value {"data" : [{"id" : "primary_key_value" , "type" : "row" }]}
106+ When the request is sent
107+ Then the response status is 412 Precondition Failed
108+
93109 @generated @skip @team:DataDog/redapl-experiences
94110 Scenario : Delete rows returns "Rows deleted successfully" response
95111 Given new "DeleteRows" request
@@ -208,6 +224,14 @@ Feature: Reference Tables
208224 When the request is sent
209225 Then the response status is 400 Bad Request
210226
227+ @generated @skip @team:DataDog/redapl-experiences
228+ Scenario : Upsert rows returns "Conflict" response
229+ Given new "UpsertRows" request
230+ And request contains "id" parameter from "REPLACE.ME"
231+ And body with value {"data" : [{"attributes" : {"values" : {}}, "id" : "primary_key_value" , "type" : "row" }]}
232+ When the request is sent
233+ Then the response status is 409 Conflict
234+
211235 @generated @skip @team:DataDog/redapl-experiences
212236 Scenario : Upsert rows returns "Not Found" response
213237 Given new "UpsertRows" request
@@ -216,6 +240,14 @@ Feature: Reference Tables
216240 When the request is sent
217241 Then the response status is 404 Not Found
218242
243+ @generated @skip @team:DataDog/redapl-experiences
244+ Scenario : Upsert rows returns "Precondition Failed" response
245+ Given new "UpsertRows" request
246+ And request contains "id" parameter from "REPLACE.ME"
247+ And body with value {"data" : [{"attributes" : {"values" : {}}, "id" : "primary_key_value" , "type" : "row" }]}
248+ When the request is sent
249+ Then the response status is 412 Precondition Failed
250+
219251 @generated @skip @team:DataDog/redapl-experiences
220252 Scenario : Upsert rows returns "Rows created or updated successfully" response
221253 Given new "UpsertRows" request
0 commit comments