Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/specs/features/browser_ui/3_create/snippet/copy_snippet_file_contents_spec.rb')
-rw-r--r--qa/qa/specs/features/browser_ui/3_create/snippet/copy_snippet_file_contents_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/qa/qa/specs/features/browser_ui/3_create/snippet/copy_snippet_file_contents_spec.rb b/qa/qa/specs/features/browser_ui/3_create/snippet/copy_snippet_file_contents_spec.rb
index 29ddbb22a01..0b63d9a1edb 100644
--- a/qa/qa/specs/features/browser_ui/3_create/snippet/copy_snippet_file_contents_spec.rb
+++ b/qa/qa/specs/features/browser_ui/3_create/snippet/copy_snippet_file_contents_spec.rb
@@ -59,8 +59,8 @@ module QA
project_snippet&.remove_via_api!
end
- shared_examples 'copying snippet file contents' do |snippet_type|
- it "copies file contents of a multi-file #{snippet_type} to a comment and verifies them" do
+ shared_examples 'copying snippet file contents' do |snippet_type, testcase|
+ it "copies file contents of a multi-file #{snippet_type} to a comment and verifies them", testcase: testcase do
send(snippet_type).visit!
files.each do |files|
@@ -73,8 +73,8 @@ module QA
end
end
- it_behaves_like 'copying snippet file contents', :personal_snippet
- it_behaves_like 'copying snippet file contents', :project_snippet
+ it_behaves_like 'copying snippet file contents', :personal_snippet, 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347849'
+ it_behaves_like 'copying snippet file contents', :project_snippet, 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347848'
end
end
end