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
Copy file name to clipboardExpand all lines: features/v2/code_coverage.feature
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -13,23 +13,23 @@ Feature: Code Coverage
13
13
Scenario: Get code coverage summary for a branch returns "Bad Request" response
14
14
Given operation "GetCodeCoverageBranchSummary" enabled
15
15
And new "GetCodeCoverageBranchSummary" request
16
-
And body with value {"data": {"attributes": {"branch": "prod", "repository_id": "github.com/datadog/shopist"}, "type": "ci_app_coverage_branch_summary_request"}}
16
+
And body with value {"data": {"attributes": {"branch": "prod", "repository_id": "github.com/datadog/shopist", "repository_url": "https://github.com/datadog/shopist"}, "type": "ci_app_coverage_branch_summary_request"}}
17
17
When the request is sent
18
18
Then the response status is 400 Bad Request
19
19
20
20
@generated@skip@team:DataDog/ci-app-backend
21
21
Scenario: Get code coverage summary for a branch returns "Not Found" response
22
22
Given operation "GetCodeCoverageBranchSummary" enabled
23
23
And new "GetCodeCoverageBranchSummary" request
24
-
And body with value {"data": {"attributes": {"branch": "prod", "repository_id": "github.com/datadog/shopist"}, "type": "ci_app_coverage_branch_summary_request"}}
24
+
And body with value {"data": {"attributes": {"branch": "prod", "repository_id": "github.com/datadog/shopist", "repository_url": "https://github.com/datadog/shopist"}, "type": "ci_app_coverage_branch_summary_request"}}
25
25
When the request is sent
26
26
Then the response status is 404 Not Found
27
27
28
28
@generated@skip@team:DataDog/ci-app-backend
29
29
Scenario: Get code coverage summary for a branch returns "OK" response
30
30
Given operation "GetCodeCoverageBranchSummary" enabled
31
31
And new "GetCodeCoverageBranchSummary" request
32
-
And body with value {"data": {"attributes": {"branch": "prod", "repository_id": "github.com/datadog/shopist"}, "type": "ci_app_coverage_branch_summary_request"}}
32
+
And body with value {"data": {"attributes": {"branch": "prod", "repository_id": "github.com/datadog/shopist", "repository_url": "https://github.com/datadog/shopist"}, "type": "ci_app_coverage_branch_summary_request"}}
33
33
When the request is sent
34
34
Then the response status is 200 OK
35
35
@@ -61,23 +61,23 @@ Feature: Code Coverage
61
61
Scenario: Get code coverage summary for a commit returns "Bad Request" response
62
62
Given operation "GetCodeCoverageCommitSummary" enabled
63
63
And new "GetCodeCoverageCommitSummary" request
64
-
And body with value {"data": {"attributes": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_id": "github.com/datadog/shopist"}, "type": "ci_app_coverage_commit_summary_request"}}
64
+
And body with value {"data": {"attributes": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_id": "github.com/datadog/shopist", "repository_url": "https://github.com/datadog/shopist"}, "type": "ci_app_coverage_commit_summary_request"}}
65
65
When the request is sent
66
66
Then the response status is 400 Bad Request
67
67
68
68
@generated@skip@team:DataDog/ci-app-backend
69
69
Scenario: Get code coverage summary for a commit returns "Not Found" response
70
70
Given operation "GetCodeCoverageCommitSummary" enabled
71
71
And new "GetCodeCoverageCommitSummary" request
72
-
And body with value {"data": {"attributes": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_id": "github.com/datadog/shopist"}, "type": "ci_app_coverage_commit_summary_request"}}
72
+
And body with value {"data": {"attributes": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_id": "github.com/datadog/shopist", "repository_url": "https://github.com/datadog/shopist"}, "type": "ci_app_coverage_commit_summary_request"}}
73
73
When the request is sent
74
74
Then the response status is 404 Not Found
75
75
76
76
@generated@skip@team:DataDog/ci-app-backend
77
77
Scenario: Get code coverage summary for a commit returns "OK" response
78
78
Given operation "GetCodeCoverageCommitSummary" enabled
79
79
And new "GetCodeCoverageCommitSummary" request
80
-
And body with value {"data": {"attributes": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_id": "github.com/datadog/shopist"}, "type": "ci_app_coverage_commit_summary_request"}}
80
+
And body with value {"data": {"attributes": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_id": "github.com/datadog/shopist", "repository_url": "https://github.com/datadog/shopist"}, "type": "ci_app_coverage_commit_summary_request"}}
0 commit comments