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
Scenario: Get a list of RUM events returns "OK" response with pagination
90
90
Given new "ListRUMEvents" request
91
91
And request contains "page[limit]" parameter with value 2
92
92
When the request with pagination is sent
93
93
Then the response status is 200 OK
94
94
And the response has 3 items
95
95
96
-
@generated@skip@team:DataDog/rum-back
96
+
@generated@skip@team:DataDog/rum-backend
97
97
Scenario: List all the RUM applications returns "Not Found" response
98
98
Given new "GetRUMApplications" request
99
99
When the request is sent
100
100
Then the response status is 404 Not Found
101
101
102
-
@team:DataDog/rum-back
102
+
@team:DataDog/rum-backend
103
103
Scenario: List all the RUM applications returns "OK" response
104
104
Given new "GetRUMApplications" request
105
105
When the request is sent
106
106
Then the response status is 200 OK
107
107
108
-
@generated@skip@team:DataDog/rum-back
108
+
@generated@skip@team:DataDog/rum-backend
109
109
Scenario: Search RUM events returns "Bad Request" response
110
110
Given new "SearchRUMEvents" request
111
111
And body with value {"filter": {"from": "now-15m", "query": "@type:session AND @session.type:user", "to": "now"}, "options": {"timezone": "GMT"}, "page": {"cursor": "eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==", "limit": 25}, "sort": "timestamp"}
112
112
When the request is sent
113
113
Then the response status is 400 Bad Request
114
114
115
-
@team:DataDog/rum-back
115
+
@team:DataDog/rum-backend
116
116
Scenario: Search RUM events returns "OK" response
117
117
Given new "SearchRUMEvents" request
118
118
And body with value {"filter": {"from": "now-15m", "query": "@type:session AND @session.type:user", "to": "now"}, "options": {"time_offset": 0, "timezone": "GMT"}, "page": {"limit": 25}, "sort": "timestamp"}
Scenario: Search RUM events returns "OK" response with pagination
124
124
Given new "SearchRUMEvents" request
125
125
And body with value {"filter": {"from": "now-15m", "query": "@type:session AND @session.type:user", "to": "now"}, "options": {"time_offset": 0, "timezone": "GMT"}, "page": {"limit": 2}, "sort": "timestamp"}
126
126
When the request with pagination is sent
127
127
Then the response status is 200 OK
128
128
And the response has 3 items
129
129
130
-
@generated@skip@team:DataDog/rum-back
130
+
@generated@skip@team:DataDog/rum-backend
131
131
Scenario: Update a RUM application returns "Bad Request" response
132
132
Given new "UpdateRUMApplication" request
133
133
And request contains "id" parameter from "REPLACE.ME"
134
134
And body with value {"data": {"attributes": {"name": "updated_name_for_my_existing_rum_application", "type": "browser"}, "id": "abcd1234-0000-0000-abcd-1234abcd5678", "type": "rum_application_update"}}
135
135
When the request is sent
136
136
Then the response status is 400 Bad Request
137
137
138
-
@generated@skip@team:DataDog/rum-back
138
+
@generated@skip@team:DataDog/rum-backend
139
139
Scenario: Update a RUM application returns "Not Found" response
140
140
Given new "UpdateRUMApplication" request
141
141
And request contains "id" parameter from "REPLACE.ME"
142
142
And body with value {"data": {"attributes": {"name": "updated_name_for_my_existing_rum_application", "type": "browser"}, "id": "abcd1234-0000-0000-abcd-1234abcd5678", "type": "rum_application_update"}}
143
143
When the request is sent
144
144
Then the response status is 404 Not Found
145
145
146
-
@team:DataDog/rum-back
146
+
@team:DataDog/rum-backend
147
147
Scenario: Update a RUM application returns "OK" response
148
148
Given there is a valid "rum_application" in the system
149
149
And new "UpdateRUMApplication" request
@@ -156,7 +156,7 @@ Feature: RUM
156
156
And the response "data.attributes.type" is equal to "browser"
157
157
And the response "data.attributes.name" is equal to "updated_name_for_my_existing_rum_application"
158
158
159
-
@team:DataDog/rum-back
159
+
@team:DataDog/rum-backend
160
160
Scenario: Update a RUM application returns "Unprocessable Entity." response
161
161
Given there is a valid "rum_application" in the system
0 commit comments