-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prevent overriding the local state element from the backend response
- Loading branch information
Showing
7 changed files
with
141 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.freeze
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-07-03T16:50:01.659618-04:00 | ||
2024-07-05T18:52:49.948468+02:00 |
160 changes: 80 additions & 80 deletions
160
datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserMML_Basic.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserUserLocator_Basic.freeze
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-07-03T16:49:55.105063-04:00 | ||
2024-07-05T18:53:24.465731+02:00 |
40 changes: 20 additions & 20 deletions
40
datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserUserLocator_Basic.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
datadog/tests/cassettes/TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement.freeze
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2024-07-03T16:50:10.652467-04:00 | ||
2024-07-05T18:54:30.599544+02:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ interactions: | |
remote_addr: "" | ||
request_uri: "" | ||
body: | | ||
{"config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"locations":["aws:eu-central-1"],"message":"Notify @datadog.user","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720039810","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"status":"paused","steps":[{"allowFailure":false,"isCritical":false,"name":"click step","noScreenshot":false,"params":{"element":{"userLocator":{"failTestOnCannotLocate":true,"values":[{"type":"css","value":"user-locator-test"}]}}},"timeout":0,"type":"click"}],"tags":["foo:bar"],"type":"browser"} | ||
{"config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"locations":["aws:eu-central-1"],"message":"Notify @datadog.user","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720198470","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"status":"paused","steps":[{"allowFailure":false,"isCritical":false,"name":"click step","noScreenshot":false,"params":{"element":{"userLocator":{"failTestOnCannotLocate":true,"values":[{"type":"css","value":"user-locator-test"}]}}},"timeout":0,"type":"click"}],"tags":["foo:bar"],"type":"browser"} | ||
form: {} | ||
headers: | ||
Accept: | ||
|
@@ -32,13 +32,13 @@ interactions: | |
content_length: -1 | ||
uncompressed: true | ||
body: | | ||
{"public_id":"tsd-pef-tdc","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720039810","status":"paused","type":"browser","tags":["foo:bar"],"created_at":"2024-07-03T20:50:12.346519+00:00","modified_at":"2024-07-03T20:50:12.346519+00:00","config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"message":"Notify @datadog.user","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"locations":["aws:eu-central-1"],"created_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"deleted_at":null,"monitor_id":148530480,"org_id":321813,"modified_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"steps":[{"name":"click step","params":{"element":{"userLocator":{"failTestOnCannotLocate":true,"values":[{"type":"css","value":"user-locator-test"}]}}},"timeout":0,"type":"click","allowFailure":false,"isCritical":false,"noScreenshot":false}],"stepCount":{"assertions":0,"subtests":0,"total":1}} | ||
{"public_id":"v4c-qnn-3xq","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720198470","status":"paused","type":"browser","tags":["foo:bar"],"created_at":"2024-07-05T16:54:32.578089+00:00","modified_at":"2024-07-05T16:54:32.578089+00:00","config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"message":"Notify @datadog.user","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"locations":["aws:eu-central-1"],"created_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"deleted_at":null,"monitor_id":148649365,"org_id":321813,"modified_by":{"name":null,"handle":"[email protected]","email":"[email protected]"},"steps":[{"name":"click step","params":{"element":{"userLocator":{"failTestOnCannotLocate":true,"values":[{"type":"css","value":"user-locator-test"}]}}},"timeout":0,"type":"click","allowFailure":false,"isCritical":false,"noScreenshot":false}],"stepCount":{"assertions":0,"subtests":0,"total":1}} | ||
headers: | ||
Content-Type: | ||
- application/json | ||
status: 200 OK | ||
code: 200 | ||
duration: 434.671584ms | ||
duration: 880.146084ms | ||
- id: 1 | ||
request: | ||
proto: HTTP/1.1 | ||
|
@@ -55,7 +55,7 @@ interactions: | |
headers: | ||
Accept: | ||
- application/json | ||
url: https://api.datadoghq.com/api/v1/synthetics/tests/browser/tsd-pef-tdc | ||
url: https://api.datadoghq.com/api/v1/synthetics/tests/browser/v4c-qnn-3xq | ||
method: GET | ||
response: | ||
proto: HTTP/1.1 | ||
|
@@ -67,13 +67,13 @@ interactions: | |
content_length: -1 | ||
uncompressed: true | ||
body: | | ||
{"public_id":"tsd-pef-tdc","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720039810","status":"paused","type":"browser","tags":["foo:bar"],"created_at":"2024-07-03T20:50:12.346519+00:00","modified_at":"2024-07-03T20:50:12.346519+00:00","config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"message":"Notify @datadog.user","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"locations":["aws:eu-central-1"],"monitor_id":148530480,"creator":{"name":null,"handle":"[email protected]","email":"[email protected]"},"steps":[{"name":"click step","params":{"element":{"userLocator":{"failTestOnCannotLocate":true,"values":[{"type":"css","value":"user-locator-test"}]}}},"timeout":0,"type":"click","allowFailure":false,"isCritical":false,"noScreenshot":false}]} | ||
{"public_id":"v4c-qnn-3xq","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720198470","status":"paused","type":"browser","tags":["foo:bar"],"created_at":"2024-07-05T16:54:32.578089+00:00","modified_at":"2024-07-05T16:54:32.578089+00:00","config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"message":"Notify @datadog.user","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"locations":["aws:eu-central-1"],"monitor_id":148649365,"creator":{"name":null,"handle":"[email protected]","email":"[email protected]"},"steps":[{"name":"click step","params":{"element":{"userLocator":{"failTestOnCannotLocate":true,"values":[{"type":"css","value":"user-locator-test"}]}}},"timeout":0,"type":"click","allowFailure":false,"isCritical":false,"noScreenshot":false}]} | ||
headers: | ||
Content-Type: | ||
- application/json | ||
status: 200 OK | ||
code: 200 | ||
duration: 71.293917ms | ||
duration: 156.179ms | ||
- id: 2 | ||
request: | ||
proto: HTTP/1.1 | ||
|
@@ -90,7 +90,7 @@ interactions: | |
headers: | ||
Accept: | ||
- application/json | ||
url: https://api.datadoghq.com/api/v1/synthetics/tests/tsd-pef-tdc | ||
url: https://api.datadoghq.com/api/v1/synthetics/tests/v4c-qnn-3xq | ||
method: GET | ||
response: | ||
proto: HTTP/1.1 | ||
|
@@ -102,13 +102,13 @@ interactions: | |
content_length: -1 | ||
uncompressed: true | ||
body: | | ||
{"public_id":"tsd-pef-tdc","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720039810","status":"paused","type":"browser","tags":["foo:bar"],"created_at":"2024-07-03T20:50:12.346519+00:00","modified_at":"2024-07-03T20:50:12.346519+00:00","config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"message":"Notify @datadog.user","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"locations":["aws:eu-central-1"],"monitor_id":148530480,"creator":{"name":null,"handle":"[email protected]","email":"[email protected]"}} | ||
{"public_id":"v4c-qnn-3xq","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720198470","status":"paused","type":"browser","tags":["foo:bar"],"created_at":"2024-07-05T16:54:32.578089+00:00","modified_at":"2024-07-05T16:54:32.578089+00:00","config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"message":"Notify @datadog.user","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"locations":["aws:eu-central-1"],"monitor_id":148649365,"creator":{"name":null,"handle":"[email protected]","email":"[email protected]"}} | ||
headers: | ||
Content-Type: | ||
- application/json | ||
status: 200 OK | ||
code: 200 | ||
duration: 93.8525ms | ||
duration: 156.543833ms | ||
- id: 3 | ||
request: | ||
proto: HTTP/1.1 | ||
|
@@ -125,7 +125,7 @@ interactions: | |
headers: | ||
Accept: | ||
- application/json | ||
url: https://api.datadoghq.com/api/v1/synthetics/tests/tsd-pef-tdc | ||
url: https://api.datadoghq.com/api/v1/synthetics/tests/v4c-qnn-3xq | ||
method: GET | ||
response: | ||
proto: HTTP/1.1 | ||
|
@@ -137,13 +137,13 @@ interactions: | |
content_length: -1 | ||
uncompressed: true | ||
body: | | ||
{"public_id":"tsd-pef-tdc","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720039810","status":"paused","type":"browser","tags":["foo:bar"],"created_at":"2024-07-03T20:50:12.346519+00:00","modified_at":"2024-07-03T20:50:12.346519+00:00","config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"message":"Notify @datadog.user","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"locations":["aws:eu-central-1"],"monitor_id":148530480,"creator":{"name":null,"handle":"[email protected]","email":"[email protected]"}} | ||
{"public_id":"v4c-qnn-3xq","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720198470","status":"paused","type":"browser","tags":["foo:bar"],"created_at":"2024-07-05T16:54:32.578089+00:00","modified_at":"2024-07-05T16:54:32.578089+00:00","config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"message":"Notify @datadog.user","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"locations":["aws:eu-central-1"],"monitor_id":148649365,"creator":{"name":null,"handle":"[email protected]","email":"[email protected]"}} | ||
headers: | ||
Content-Type: | ||
- application/json | ||
status: 200 OK | ||
code: 200 | ||
duration: 113.186292ms | ||
duration: 193.197833ms | ||
- id: 4 | ||
request: | ||
proto: HTTP/1.1 | ||
|
@@ -160,7 +160,7 @@ interactions: | |
headers: | ||
Accept: | ||
- application/json | ||
url: https://api.datadoghq.com/api/v1/synthetics/tests/browser/tsd-pef-tdc | ||
url: https://api.datadoghq.com/api/v1/synthetics/tests/browser/v4c-qnn-3xq | ||
method: GET | ||
response: | ||
proto: HTTP/1.1 | ||
|
@@ -172,13 +172,13 @@ interactions: | |
content_length: -1 | ||
uncompressed: true | ||
body: | | ||
{"public_id":"tsd-pef-tdc","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720039810","status":"paused","type":"browser","tags":["foo:bar"],"created_at":"2024-07-03T20:50:12.346519+00:00","modified_at":"2024-07-03T20:50:12.346519+00:00","config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"message":"Notify @datadog.user","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"locations":["aws:eu-central-1"],"monitor_id":148530480,"creator":{"name":null,"handle":"[email protected]","email":"[email protected]"},"steps":[{"name":"click step","params":{"element":{"userLocator":{"failTestOnCannotLocate":true,"values":[{"type":"css","value":"user-locator-test"}]}}},"timeout":0,"type":"click","allowFailure":false,"isCritical":false,"noScreenshot":false}]} | ||
{"public_id":"v4c-qnn-3xq","name":"tf-TestAccDatadogSyntheticsTestBrowserUserLocator_NoElement-local-1720198470","status":"paused","type":"browser","tags":["foo:bar"],"created_at":"2024-07-05T16:54:32.578089+00:00","modified_at":"2024-07-05T16:54:32.578089+00:00","config":{"assertions":[],"configVariables":[],"request":{"method":"GET","timeout":60,"url":"https://www.datadoghq.com"},"variables":[]},"message":"Notify @datadog.user","options":{"device_ids":["laptop_large"],"httpVersion":"any","min_location_failed":1,"tick_every":900},"locations":["aws:eu-central-1"],"monitor_id":148649365,"creator":{"name":null,"handle":"[email protected]","email":"[email protected]"},"steps":[{"name":"click step","params":{"element":{"userLocator":{"failTestOnCannotLocate":true,"values":[{"type":"css","value":"user-locator-test"}]}}},"timeout":0,"type":"click","allowFailure":false,"isCritical":false,"noScreenshot":false}]} | ||
headers: | ||
Content-Type: | ||
- application/json | ||
status: 200 OK | ||
code: 200 | ||
duration: 72.61625ms | ||
duration: 156.243084ms | ||
- id: 5 | ||
request: | ||
proto: HTTP/1.1 | ||
|
@@ -191,7 +191,7 @@ interactions: | |
remote_addr: "" | ||
request_uri: "" | ||
body: | | ||
{"public_ids":["tsd-pef-tdc"]} | ||
{"public_ids":["v4c-qnn-3xq"]} | ||
form: {} | ||
headers: | ||
Accept: | ||
|
@@ -210,13 +210,13 @@ interactions: | |
content_length: -1 | ||
uncompressed: true | ||
body: | | ||
{"deleted_tests":[{"public_id":"tsd-pef-tdc","deleted_at":"2024-07-03T20:50:15.099977+00:00"}]} | ||
{"deleted_tests":[{"public_id":"v4c-qnn-3xq","deleted_at":"2024-07-05T16:54:35.202662+00:00"}]} | ||
headers: | ||
Content-Type: | ||
- application/json | ||
status: 200 OK | ||
code: 200 | ||
duration: 1.317489666s | ||
duration: 524.742625ms | ||
- id: 6 | ||
request: | ||
proto: HTTP/1.1 | ||
|
@@ -233,7 +233,7 @@ interactions: | |
headers: | ||
Accept: | ||
- application/json | ||
url: https://api.datadoghq.com/api/v1/synthetics/tests/tsd-pef-tdc | ||
url: https://api.datadoghq.com/api/v1/synthetics/tests/v4c-qnn-3xq | ||
method: GET | ||
response: | ||
proto: HTTP/1.1 | ||
|
@@ -250,4 +250,4 @@ interactions: | |
- application/json | ||
status: 404 Not Found | ||
code: 404 | ||
duration: 79.737125ms | ||
duration: 138.394417ms |