Failure in browser_ui/3_create/snippet/delete_file_from_snippet_spec.rb | Create Multiple file snippet behaves like deleting file from snippet deletes second file from an existing personal_snippet to make it single-file
Full description
Create Multiple file snippet behaves like deleting file from snippet deletes second file from an existing personal_snippet to make it single-file
File path
./qa/specs/features/browser_ui/3_create/snippet/delete_file_from_snippet_spec.rb
Stack trace
Failure/Error:
Resource::Snippet.fabricate_via_api! do |snippet|
snippet.title = 'Personal snippet to delete file from'
snippet.file_name = 'Original file name'
snippet.file_content = 'Original file content'
snippet.add_files do |files|
files.append(name: 'Second file name', content: 'Second file content')
end
end
QA::Resource::Errors::ResourceFabricationFailedError:
Fabrication of QA::Resource::Snippet using the API failed (400) with `{"message":{"error":"Repository Error creating the snippet"}}`.
Correlation Id: a6ec6780a2d2321a12d23473724fa443
Sentry Url: https://sentry.gitlab.net/gitlab/gitlabcom/?environment=gprd&query=correlation_id%3A%22a6ec6780a2d2321a12d23473724fa443%22
Kibana - Discover Url: https://log.gprd.gitlab.net/app/discover#/?_a=%28index:%277092c4e2-4eb5-46f2-8305-a7da2edad090%27%2Cquery%3A%28language%3Akuery%2Cquery%3A%27json.correlation_id%20%3A%20a6ec6780a2d2321a12d23473724fa443%27%29%29&_g=%28time%3A%28from%3A%272023-02-05T15:45:53.851Z%27%2Cto%3A%272023-02-06T15:45:53.851Z%27%29%29
Kibana - Dashboard Url: https://log.gprd.gitlab.net/app/dashboards#/view/5e6d3440-7597-11ed-9f43-e3784d7fe3ca?_g=%28time%3A%28from:%272023-02-05T15:45:53.851Z%27%2Cto%3A%272023-02-06T15:45:53.851Z%27%29%29&_a=%28filters%3A%21%28%28query%3A%28match_phrase%3A%28json.correlation_id%3A%27a6ec6780a2d2321a12d23473724fa443%27%29%29%29%29%29
Shared Example Group: "deleting file from snippet" called from ./qa/specs/features/browser_ui/3_create/snippet/delete_file_from_snippet_spec.rb:56
First happened in https://ops.gitlab.net/gitlab-org/quality/canary/-/jobs/9185993.
Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347728.