summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-08-26 15:00:10 +0000
committerRémy Coutable <remy@rymai.me>2018-08-26 15:00:10 +0000
commitec54fd36e991b2c19b4e4d07342a6f3a1de2d8b1 (patch)
tree97c2d31af593fd45f20e250e602bd33302d57a9c /qa
parent5566588f1f0d85044527ffea292044a3bccc69c2 (diff)
parentf2005125dfe7810de910b61dee8d7a9203a6ca6e (diff)
downloadgitlab-ce-ec54fd36e991b2c19b4e4d07342a6f3a1de2d8b1.tar.gz
Merge branch 'sh-sanitize-project-import-names' into 'master'
Use slugs for default project path and sanitize names before import See merge request gitlab-org/gitlab-ce!21367
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/import/github.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/project/import/github.rb b/qa/qa/page/project/import/github.rb
index 36567927194..1a410a0f8a5 100644
--- a/qa/qa/page/project/import/github.rb
+++ b/qa/qa/page/project/import/github.rb
@@ -14,7 +14,7 @@ module QA
element :project_import_row, 'data: { qa: { repo_path: repo.full_name } }'
element :project_namespace_select
element :project_namespace_field, 'select_tag :namespace_id'
- element :project_path_field, 'text_field_tag :path, repo.name'
+ element :project_path_field, 'text_field_tag :path, sanitize_project_name(repo.name)'
element :import_button, "_('Import')"
end