examples/v1/synthetics/CreateSyntheticsBrowserTest.rb in datadog_api_client-1.6.0 vs examples/v1/synthetics/CreateSyntheticsBrowserTest.rb in datadog_api_client-1.7.0
- old
+ new
@@ -44,7 +44,16 @@
}),
tags: [
"testing:browser",
],
type: DatadogAPIClient::V1::SyntheticsBrowserTestType::BROWSER,
+ steps: [
+ DatadogAPIClient::V1::SyntheticsStep.new({
+ allow_failure: false,
+ is_critical: true,
+ name: "Refresh page",
+ params: DatadogAPIClient::V1::SyntheticsStepParams.new({}),
+ type: DatadogAPIClient::V1::SyntheticsStepType::REFRESH,
+ }),
+ ],
})
p api_instance.create_synthetics_browser_test(body)