Skip to content

Commit ac068e0

Browse files
authored
feat(gitlab): add e2e for mr comments (#2835)
1 parent af7b9a3 commit ac068e0

8 files changed

Lines changed: 42 additions & 2 deletions

plugins/gitlab/e2e/raw_tables/_raw_gitlab_api_merge_request_notes.csv

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ id,params,data,url,input,created_at
1919
18,"{""ConnectionId"":1,""ProjectId"":12345678}","{""id"":208185588,""type"":null,""body"":""restored source branch `4-config-is-not-generic-enough`"",""attachment"":null,""author"":{""id"":2295562,""username"":""emilie"",""name"":""Emilie Schario"",""state"":""active"",""avatar_url"":""https://gitlab.com/uploads/-/system/user/avatar/2295562/avatar.png"",""web_url"":""https://gitlab.com/emilie""},""created_at"":""2019-08-26T15:33:21.878Z"",""updated_at"":""2019-08-26T15:33:21.884Z"",""system"":true,""noteable_id"":35841926,""noteable_type"":""MergeRequest"",""resolvable"":false,""confidential"":false,""noteable_iid"":4,""commands_changes"":{}}",https://gitlab.com/api/v4/projects/12345678/merge_requests/4/notes?page=1&per_page=100&sort=asc&system=false&with_stats=true,"{""Iid"": 4, ""GitlabId"": 35841926}",2022-07-01 11:00:54.809
2020
19,"{""ConnectionId"":1,""ProjectId"":12345678}","{""id"":208185663,""type"":null,""body"":""assigned to @emilie"",""attachment"":null,""author"":{""id"":2295562,""username"":""emilie"",""name"":""Emilie Schario"",""state"":""active"",""avatar_url"":""https://gitlab.com/uploads/-/system/user/avatar/2295562/avatar.png"",""web_url"":""https://gitlab.com/emilie""},""created_at"":""2019-08-26T15:33:34.019Z"",""updated_at"":""2019-08-26T15:33:34.023Z"",""system"":true,""noteable_id"":35841926,""noteable_type"":""MergeRequest"",""resolvable"":false,""confidential"":false,""noteable_iid"":4,""commands_changes"":{}}",https://gitlab.com/api/v4/projects/12345678/merge_requests/4/notes?page=1&per_page=100&sort=asc&system=false&with_stats=true,"{""Iid"": 4, ""GitlabId"": 35841926}",2022-07-01 11:00:54.809
2121
20,"{""ConnectionId"":1,""ProjectId"":12345678}","{""id"":208186075,""type"":null,""body"":""added 1 commit\n\n\u003cul\u003e\u003cli\u003e91e5666b - remove config\u003c/li\u003e\u003c/ul\u003e\n\n[Compare with previous version](/gitlab-data/snowflake_spend/merge_requests/4/diffs?diff_id=52612655\u0026start_sha=d678bea9d47b42eb13512d1c9d6a592d80b432d4)"",""attachment"":null,""author"":{""id"":2295562,""username"":""emilie"",""name"":""Emilie Schario"",""state"":""active"",""avatar_url"":""https://gitlab.com/uploads/-/system/user/avatar/2295562/avatar.png"",""web_url"":""https://gitlab.com/emilie""},""created_at"":""2019-08-26T15:34:37.958Z"",""updated_at"":""2019-08-26T15:34:37.961Z"",""system"":true,""noteable_id"":35841926,""noteable_type"":""MergeRequest"",""resolvable"":false,""confidential"":false,""noteable_iid"":4,""commands_changes"":{}}",https://gitlab.com/api/v4/projects/12345678/merge_requests/4/notes?page=1&per_page=100&sort=asc&system=false&with_stats=true,"{""Iid"": 4, ""GitlabId"": 35841926}",2022-07-01 11:00:54.809
22+
71,"{""ConnectionId"":1,""ProjectId"":12345678}","{""id"":135100359,""type"":null,""body"":""approved this merge request"",""attachment"":null,""author"":{""id"":3393147,""username"":""liyongfeng"",""name"":""Yongfeng Li"",""state"":""active"",""avatar_url"":""https://gitlab.com/uploads/-/system/user/avatar/3393147/avatar.png"",""web_url"":""https://gitlab.com/liyongfeng""},""created_at"":""2019-01-25T16:46:23.996Z"",""updated_at"":""2019-01-25T16:46:23.996Z"",""system"":true,""noteable_id"":1149942101,""noteable_type"":""MergeRequest"",""resolvable"":false,""confidential"":false,""internal"":false,""noteable_iid"":29,""commands_changes"":{}}",https://gitlab.com/api/v4/projects/12345678/merge_requests/29/notes?page=1&per_page=100&sort=asc&system=false&with_stats=true,"{""Iid"": 29, ""GitlabId"": 1149942101}",2022-08-24 02:38:16.720
23+
126,"{""ConnectionId"":1,""ProjectId"":12345678}","{""id"":135223089,""type"":null,""body"":""approved this merge request"",""attachment"":null,""author"":{""id"":3393147,""username"":""liyongfeng"",""name"":""Yongfeng Li"",""state"":""active"",""avatar_url"":""https://gitlab.com/uploads/-/system/user/avatar/3393147/avatar.png"",""web_url"":""https://gitlab.com/liyongfeng""},""created_at"":""2019-01-26T11:41:34.158Z"",""updated_at"":""2019-01-26T11:41:34.158Z"",""system"":true,""noteable_id"":135772105,""noteable_type"":""MergeRequest"",""resolvable"":false,""confidential"":false,""internal"":false,""noteable_iid"":30,""commands_changes"":{}}",https://gitlab.com/api/v4/projects/12345678/merge_requests/30/notes?page=1&per_page=100&sort=asc&system=false&with_stats=true,"{""Iid"": 30, ""GitlabId"": 135772105}",2022-08-24 02:38:17.042
24+
151,"{""ConnectionId"":1,""ProjectId"":12345678}","{""id"":137424744,""type"":null,""body"":""approved this merge request"",""attachment"":null,""author"":{""id"":3014346,""username"":""hackwaly"",""name"":""文宇祥"",""state"":""active"",""avatar_url"":""https://secure.gravatar.com/avatar/5d814c4a23f3346e8bb40f454a039663?s=80\u0026d=identicon"",""web_url"":""https://gitlab.com/hackwaly""},""created_at"":""2019-02-01T11:43:54.686Z"",""updated_at"":""2019-02-01T11:43:54.686Z"",""system"":true,""noteable_id"":145032495,""noteable_type"":""MergeRequest"",""resolvable"":false,""confidential"":false,""internal"":false,""noteable_iid"":46,""commands_changes"":{}}",https://gitlab.com/api/v4/projects/12345678/merge_requests/46/notes?page=1&per_page=100&sort=asc&system=false&with_stats=true,"{""Iid"": 46, ""GitlabId"": 145032495}",2022-08-24 02:38:17.348
25+
169,"{""ConnectionId"":1,""ProjectId"":12345678}","{""id"":135848627,""type"":null,""body"":""approved this merge request"",""attachment"":null,""author"":{""id"":2436773,""username"":""basicthinker"",""name"":""Jinglei Ren"",""state"":""active"",""avatar_url"":""https://gitlab.com/uploads/-/system/user/avatar/2436773/avatar.png"",""web_url"":""https://gitlab.com/basicthinker""},""created_at"":""2019-01-29T00:40:37.158Z"",""updated_at"":""2019-01-29T00:40:37.158Z"",""system"":true,""noteable_id"":15869219,""noteable_type"":""MergeRequest"",""resolvable"":false,""confidential"":false,""internal"":false,""noteable_iid"":37,""commands_changes"":{}}",https://gitlab.com/api/v4/projects/12345678/merge_requests/37/notes?page=1&per_page=100&sort=asc&system=false&with_stats=true,"{""Iid"": 37, ""GitlabId"": 15869219}",2022-08-24 02:38:17.462
26+
170,"{""ConnectionId"":1,""ProjectId"":12345678}","{""id"":135848646,""type"":null,""body"":""unapproved this merge request"",""attachment"":null,""author"":{""id"":2436773,""username"":""basicthinker"",""name"":""Jinglei Ren"",""state"":""active"",""avatar_url"":""https://gitlab.com/uploads/-/system/user/avatar/2436773/avatar.png"",""web_url"":""https://gitlab.com/basicthinker""},""created_at"":""2019-01-29T00:40:45.520Z"",""updated_at"":""2019-01-29T00:40:45.520Z"",""system"":true,""noteable_id"":15869219,""noteable_type"":""MergeRequest"",""resolvable"":false,""confidential"":false,""internal"":false,""noteable_iid"":37,""commands_changes"":{}}",https://gitlab.com/api/v4/projects/12345678/merge_requests/37/notes?page=1&per_page=100&sort=asc&system=false&with_stats=true,"{""Iid"": 37, ""GitlabId"": 15869219}",2022-08-24 02:38:17.462
27+
171,"{""ConnectionId"":1,""ProjectId"":12345678}","{""id"":135848654,""type"":null,""body"":""approved this merge request"",""attachment"":null,""author"":{""id"":2436773,""username"":""basicthinker"",""name"":""Jinglei Ren"",""state"":""active"",""avatar_url"":""https://gitlab.com/uploads/-/system/user/avatar/2436773/avatar.png"",""web_url"":""https://gitlab.com/basicthinker""},""created_at"":""2019-01-29T00:40:47.455Z"",""updated_at"":""2019-01-29T00:40:47.455Z"",""system"":true,""noteable_id"":15869219,""noteable_type"":""MergeRequest"",""resolvable"":false,""confidential"":false,""internal"":false,""noteable_iid"":37,""commands_changes"":{}}",https://gitlab.com/api/v4/projects/12345678/merge_requests/37/notes?page=1&per_page=100&sort=asc&system=false&with_stats=true,"{""Iid"": 37, ""GitlabId"": 15869219}",2022-08-24 02:38:17.462

0 commit comments

Comments
 (0)