summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-07-09 10:12:02 +0200
committerMarin Jankovski <marin@gitlab.com>2014-07-09 10:12:09 +0200
commit91e01275cb7c63e8f101c016d83f725d0e7e6cb9 (patch)
tree48efe0aec7b09ea58de11fed86aa08b647de60e6 /features/project
parent6b121aa5a7d2a02bf758c13cb9b5ef9845700b08 (diff)
downloadgitlab-ce-91e01275cb7c63e8f101c016d83f725d0e7e6cb9.tar.gz
Add tests to check for correct browse link name.
Diffstat (limited to 'features/project')
-rw-r--r--features/project/source/browse_files.feature14
1 files changed, 13 insertions, 1 deletions
diff --git a/features/project/source/browse_files.feature b/features/project/source/browse_files.feature
index a204c3e10c7..4af2cc83581 100644
--- a/features/project/source/browse_files.feature
+++ b/features/project/source/browse_files.feature
@@ -38,4 +38,16 @@ Feature: Project Browse files
And I click link "Diff"
Then I see diff
-
+ Scenario: I can browse directory with Browse Dir
+ Given I click on app directory
+ And I click on history link
+ Then I see Browse dir link
+
+ Scenario: I can browse file with Browse File
+ Given I click on readme file
+ And I click on history link
+ Then I see Browse file link
+
+ Scenario: I can browse code with Browse Code
+ Given I click on history link
+ Then I see Browse code link