You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given operation "UpdateScorecardOutcomesAsync" enabled
127
+
And there is a valid "create_scorecard_rule" in the system
128
+
And new "UpdateScorecardOutcomesAsync" request
129
+
And body with value {"data": {"attributes": {"results": [{"rule_id": "{{create_scorecard_rule.data.id}}", "entity_reference": "service:my-service", "remarks": "See: <a href=\"https://app.datadoghq.com/services\">Services</a>", "state": "pass"}]}, "type": "batched-outcome"}}
Given operation "UpdateScorecardOutcomesAsync" enabled
136
+
And there is a valid "create_scorecard_rule" in the system
137
+
And new "UpdateScorecardOutcomesAsync" request
138
+
And body with value {"data": {"attributes": {"results": [{"rule_id": "{{create_scorecard_rule.data.id}}", "entity_reference": "service:my-service", "state": "INVALID"}]}, "type": "batched-outcome"}}
139
+
When the request is sent
140
+
Then the response status is 400 Bad Request
141
+
124
142
@generated@skip@team:DataDog/service-catalog
125
143
Scenario: Update an existing rule returns "Bad Request" response
0 commit comments