Skip to content

Commit c78846b

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add assertRequests browser step type (#2498)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 44f3b8e commit c78846b

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-04-08 20:55:42.169501",
8-
"spec_repo_commit": "21cf6edb"
7+
"regenerated": "2025-04-10 11:41:56.358780",
8+
"spec_repo_commit": "7f98e0a9"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-08 20:55:42.184778",
13-
"spec_repo_commit": "21cf6edb"
12+
"regenerated": "2025-04-10 11:41:56.373787",
13+
"spec_repo_commit": "7f98e0a9"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16663,6 +16663,7 @@ components:
1666316663
- assertFromJavascript
1666416664
- assertPageContains
1666516665
- assertPageLacks
16666+
- assertRequests
1666616667
- click
1666716668
- extractFromJavascript
1666816669
- extractVariable
@@ -16691,6 +16692,7 @@ components:
1669116692
- ASSERT_FROM_JAVASCRIPT
1669216693
- ASSERT_PAGE_CONTAINS
1669316694
- ASSERT_PAGE_LACKS
16695+
- ASSERT_REQUESTS
1669416696
- CLICK
1669516697
- EXTRACT_FROM_JAVASCRIPT
1669616698
- EXTRACT_VARIABLE

src/datadog_api_client/v1/model/synthetics_step_type.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SyntheticsStepType(ModelSimple):
1616
"""
1717
Step type used in your Synthetic test.
1818
19-
:param value: Must be one of ["assertCurrentUrl", "assertElementAttribute", "assertElementContent", "assertElementPresent", "assertEmail", "assertFileDownload", "assertFromJavascript", "assertPageContains", "assertPageLacks", "click", "extractFromJavascript", "extractVariable", "goToEmailLink", "goToUrl", "goToUrlAndMeasureTti", "hover", "playSubTest", "pressKey", "refresh", "runApiTest", "scroll", "selectOption", "typeText", "uploadFiles", "wait"].
19+
:param value: Must be one of ["assertCurrentUrl", "assertElementAttribute", "assertElementContent", "assertElementPresent", "assertEmail", "assertFileDownload", "assertFromJavascript", "assertPageContains", "assertPageLacks", "assertRequests", "click", "extractFromJavascript", "extractVariable", "goToEmailLink", "goToUrl", "goToUrlAndMeasureTti", "hover", "playSubTest", "pressKey", "refresh", "runApiTest", "scroll", "selectOption", "typeText", "uploadFiles", "wait"].
2020
:type value: str
2121
"""
2222

@@ -30,6 +30,7 @@ class SyntheticsStepType(ModelSimple):
3030
"assertFromJavascript",
3131
"assertPageContains",
3232
"assertPageLacks",
33+
"assertRequests",
3334
"click",
3435
"extractFromJavascript",
3536
"extractVariable",
@@ -56,6 +57,7 @@ class SyntheticsStepType(ModelSimple):
5657
ASSERT_FROM_JAVASCRIPT: ClassVar["SyntheticsStepType"]
5758
ASSERT_PAGE_CONTAINS: ClassVar["SyntheticsStepType"]
5859
ASSERT_PAGE_LACKS: ClassVar["SyntheticsStepType"]
60+
ASSERT_REQUESTS: ClassVar["SyntheticsStepType"]
5961
CLICK: ClassVar["SyntheticsStepType"]
6062
EXTRACT_FROM_JAVASCRIPT: ClassVar["SyntheticsStepType"]
6163
EXTRACT_VARIABLE: ClassVar["SyntheticsStepType"]
@@ -89,6 +91,7 @@ def openapi_types(_):
8991
SyntheticsStepType.ASSERT_FROM_JAVASCRIPT = SyntheticsStepType("assertFromJavascript")
9092
SyntheticsStepType.ASSERT_PAGE_CONTAINS = SyntheticsStepType("assertPageContains")
9193
SyntheticsStepType.ASSERT_PAGE_LACKS = SyntheticsStepType("assertPageLacks")
94+
SyntheticsStepType.ASSERT_REQUESTS = SyntheticsStepType("assertRequests")
9295
SyntheticsStepType.CLICK = SyntheticsStepType("click")
9396
SyntheticsStepType.EXTRACT_FROM_JAVASCRIPT = SyntheticsStepType("extractFromJavascript")
9497
SyntheticsStepType.EXTRACT_VARIABLE = SyntheticsStepType("extractVariable")

0 commit comments

Comments
 (0)