@@ -9,100 +9,100 @@ Feature: Slack Integration
9
9
And a valid "appKeyAuth" key in the system
10
10
And an instance of "SlackIntegration" API
11
11
12
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
12
+ @generated @skip @team:DataDog/saas-integrations
13
13
Scenario : Create a Slack integration channel returns "Bad Request" response
14
14
Given new "CreateSlackIntegrationChannel" request
15
15
And request contains "account_name" parameter from "REPLACE.ME"
16
16
And body with value {"display" : {"message" : true, "notified" : true, "snapshot" : true, "tags" : true}, "name" : "#general" }
17
17
When the request is sent
18
18
Then the response status is 400 Bad Request
19
19
20
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
20
+ @generated @skip @team:DataDog/saas-integrations
21
21
Scenario : Create a Slack integration channel returns "Item Not Found" response
22
22
Given new "CreateSlackIntegrationChannel" request
23
23
And request contains "account_name" parameter from "REPLACE.ME"
24
24
And body with value {"display" : {"message" : true, "notified" : true, "snapshot" : true, "tags" : true}, "name" : "#general" }
25
25
When the request is sent
26
26
Then the response status is 404 Item Not Found
27
27
28
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
28
+ @generated @skip @team:DataDog/saas-integrations
29
29
Scenario : Create a Slack integration channel returns "OK" response
30
30
Given new "CreateSlackIntegrationChannel" request
31
31
And request contains "account_name" parameter from "REPLACE.ME"
32
32
And body with value {"display" : {"message" : true, "notified" : true, "snapshot" : true, "tags" : true}, "name" : "#general" }
33
33
When the request is sent
34
34
Then the response status is 200 OK
35
35
36
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
36
+ @generated @skip @team:DataDog/saas-integrations
37
37
Scenario : Get a Slack integration channel returns "Bad Request" response
38
38
Given new "GetSlackIntegrationChannel" request
39
39
And request contains "account_name" parameter from "REPLACE.ME"
40
40
And request contains "channel_name" parameter from "REPLACE.ME"
41
41
When the request is sent
42
42
Then the response status is 400 Bad Request
43
43
44
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
44
+ @generated @skip @team:DataDog/saas-integrations
45
45
Scenario : Get a Slack integration channel returns "Item Not Found" response
46
46
Given new "GetSlackIntegrationChannel" request
47
47
And request contains "account_name" parameter from "REPLACE.ME"
48
48
And request contains "channel_name" parameter from "REPLACE.ME"
49
49
When the request is sent
50
50
Then the response status is 404 Item Not Found
51
51
52
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
52
+ @generated @skip @team:DataDog/saas-integrations
53
53
Scenario : Get a Slack integration channel returns "OK" response
54
54
Given new "GetSlackIntegrationChannel" request
55
55
And request contains "account_name" parameter from "REPLACE.ME"
56
56
And request contains "channel_name" parameter from "REPLACE.ME"
57
57
When the request is sent
58
58
Then the response status is 200 OK
59
59
60
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
60
+ @generated @skip @team:DataDog/saas-integrations
61
61
Scenario : Get all channels in a Slack integration returns "Bad Request" response
62
62
Given new "GetSlackIntegrationChannels" request
63
63
And request contains "account_name" parameter from "REPLACE.ME"
64
64
When the request is sent
65
65
Then the response status is 400 Bad Request
66
66
67
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
67
+ @generated @skip @team:DataDog/saas-integrations
68
68
Scenario : Get all channels in a Slack integration returns "Item Not Found" response
69
69
Given new "GetSlackIntegrationChannels" request
70
70
And request contains "account_name" parameter from "REPLACE.ME"
71
71
When the request is sent
72
72
Then the response status is 404 Item Not Found
73
73
74
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
74
+ @generated @skip @team:DataDog/saas-integrations
75
75
Scenario : Get all channels in a Slack integration returns "OK" response
76
76
Given new "GetSlackIntegrationChannels" request
77
77
And request contains "account_name" parameter from "REPLACE.ME"
78
78
When the request is sent
79
79
Then the response status is 200 OK
80
80
81
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
81
+ @generated @skip @team:DataDog/saas-integrations
82
82
Scenario : Remove a Slack integration channel returns "Bad Request" response
83
83
Given new "RemoveSlackIntegrationChannel" request
84
84
And request contains "account_name" parameter from "REPLACE.ME"
85
85
And request contains "channel_name" parameter from "REPLACE.ME"
86
86
When the request is sent
87
87
Then the response status is 400 Bad Request
88
88
89
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
89
+ @generated @skip @team:DataDog/saas-integrations
90
90
Scenario : Remove a Slack integration channel returns "Item Not Found" response
91
91
Given new "RemoveSlackIntegrationChannel" request
92
92
And request contains "account_name" parameter from "REPLACE.ME"
93
93
And request contains "channel_name" parameter from "REPLACE.ME"
94
94
When the request is sent
95
95
Then the response status is 404 Item Not Found
96
96
97
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
97
+ @generated @skip @team:DataDog/saas-integrations
98
98
Scenario : Remove a Slack integration channel returns "The channel was removed successfully." response
99
99
Given new "RemoveSlackIntegrationChannel" request
100
100
And request contains "account_name" parameter from "REPLACE.ME"
101
101
And request contains "channel_name" parameter from "REPLACE.ME"
102
102
When the request is sent
103
103
Then the response status is 204 The channel was removed successfully.
104
104
105
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
105
+ @generated @skip @team:DataDog/saas-integrations
106
106
Scenario : Update a Slack integration channel returns "Bad Request" response
107
107
Given new "UpdateSlackIntegrationChannel" request
108
108
And request contains "account_name" parameter from "REPLACE.ME"
@@ -111,7 +111,7 @@ Feature: Slack Integration
111
111
When the request is sent
112
112
Then the response status is 400 Bad Request
113
113
114
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
114
+ @generated @skip @team:DataDog/saas-integrations
115
115
Scenario : Update a Slack integration channel returns "Item Not Found" response
116
116
Given new "UpdateSlackIntegrationChannel" request
117
117
And request contains "account_name" parameter from "REPLACE.ME"
@@ -120,7 +120,7 @@ Feature: Slack Integration
120
120
When the request is sent
121
121
Then the response status is 404 Item Not Found
122
122
123
- @generated @skip @team:DataDog/saas-integrations @team:DataDog/web-integrations
123
+ @generated @skip @team:DataDog/saas-integrations
124
124
Scenario : Update a Slack integration channel returns "OK" response
125
125
Given new "UpdateSlackIntegrationChannel" request
126
126
And request contains "account_name" parameter from "REPLACE.ME"
0 commit comments