diff options
Diffstat (limited to 'qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb')
-rw-r--r-- | qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb b/qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb index 70c9c9beeb8..19dd868744f 100644 --- a/qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb +++ b/qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb @@ -18,30 +18,34 @@ module QA file_name: '.gitignore', name: 'Android', api_path: 'gitignores', - api_key: 'Android' + api_key: 'Android', + testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347752' }, { file_name: '.gitlab-ci.yml', name: 'Julia', api_path: 'gitlab_ci_ymls', - api_key: 'Julia' + api_key: 'Julia', + testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347753' }, { file_name: 'Dockerfile', name: 'Python', api_path: 'dockerfiles', - api_key: 'Python' + api_key: 'Python', + testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347750' }, { file_name: 'LICENSE', name: 'Mozilla Public License 2.0', api_path: 'licenses', - api_key: 'mpl-2.0' + api_key: 'mpl-2.0', + testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347751' } ] templates.each do |template| - it "user adds #{template[:file_name]} via file template #{template[:name]}" do + it "user adds #{template[:file_name]} via file template #{template[:name]}", testcase: template[:testcase] do content = fetch_template_from_api(template[:api_path], template[:api_key]) Flow::Login.sign_in |