diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-15 11:47:30 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-15 11:47:30 +0200 |
commit | 080a086d7644285af6cd4fb4b51c8f1c9b3aec95 (patch) | |
tree | 0b186730a6a0edda03e204a81a4ca907c55647d2 /features/project | |
parent | ff22868b90dd76b94b7006bb6d3dfd23357b7d5f (diff) | |
parent | 81e741af2445f1e403c02dc172a47ade641eed60 (diff) | |
download | gitlab-ce-080a086d7644285af6cd4fb4b51c8f1c9b3aec95.tar.gz |
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Diffstat (limited to 'features/project')
-rw-r--r-- | features/project/source/browse_files.feature | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/features/project/source/browse_files.feature b/features/project/source/browse_files.feature index d3a77466a35..b5b6abe6aff 100644 --- a/features/project/source/browse_files.feature +++ b/features/project/source/browse_files.feature @@ -33,6 +33,29 @@ Feature: Project Source Browse Files And I click on "Commit Changes" Then I am redirected to the new file And I should see its new content + + @javascript + Scenario: I can upload file and commit + Given I click on "new file" link in repo + Then I can see new file page + And I can see "upload existing one" + And I click on "upload existing one" + And I upload a new text file + And I fill the upload file commit message + And I click on "Upload file" + Then I can see the new text file + And I can see the new commit message + + @javascript + Scenario: I can replace file and commit + Given I click on ".gitignore" file in repo + And I see the ".gitignore" + And I click on "Replace" + And I replace it with a text file + And I fill the replace file commit message + And I click on "Replace file" + Then I can see the new text file + And I can see the replacement commit message @javascript Scenario: I can create and commit file and specify new branch |