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:
authorMarin Jankovski <marin@gitlab.com>2014-07-09 12:12:02 +0400
committerMarin Jankovski <marin@gitlab.com>2014-07-09 12:12:09 +0400
commit91e01275cb7c63e8f101c016d83f725d0e7e6cb9 (patch)
tree48efe0aec7b09ea58de11fed86aa08b647de60e6 /features/project
parent6b121aa5a7d2a02bf758c13cb9b5ef9845700b08 (diff)
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