summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-29 23:11:30 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-30 23:32:03 +0200
commit0d4ae0e392b3ea5c5ff3b0fd37725cdc07a70191 (patch)
tree30726dc68cba3b26165e44055af8e48e7666760b /features/project
parent2b88c9cd15d79ff755cea501d5d6fb511538de73 (diff)
downloadgitlab-ce-0d4ae0e392b3ea5c5ff3b0fd37725cdc07a70191.tar.gz
Titleize blob action buttons.
Diffstat (limited to 'features/project')
-rw-r--r--features/project/source/browse_files.feature18
-rw-r--r--features/project/source/git_blame.feature2
2 files changed, 10 insertions, 10 deletions
diff --git a/features/project/source/browse_files.feature b/features/project/source/browse_files.feature
index d658f545d1c..1cd3a91667f 100644
--- a/features/project/source/browse_files.feature
+++ b/features/project/source/browse_files.feature
@@ -17,7 +17,7 @@ Feature: Project Browse files
Scenario: I browse raw file
Given I visit blob file from repo
- And I click link "raw"
+ And I click link "Raw"
Then I should see raw file content
Scenario: I can create file
@@ -37,13 +37,13 @@ Feature: Project Browse files
@javascript
Scenario: I can edit file
Given I click on ".gitignore" file in repo
- And I click button "edit"
+ And I click button "Edit"
Then I can edit code
@javascript
Scenario: I can edit and commit file
Given I click on ".gitignore" file in repo
- And I click button "edit"
+ And I click button "Edit"
And I edit code
And I fill the commit message
And I click on "Commit changes"
@@ -53,7 +53,7 @@ Feature: Project Browse files
@javascript
Scenario: I can see editing preview
Given I click on ".gitignore" file in repo
- And I click button "edit"
+ And I click button "Edit"
And I edit code
And I click link "Diff"
Then I see diff
@@ -62,7 +62,7 @@ Feature: Project Browse files
Scenario: I can remove file and commit
Given I click on ".gitignore" file in repo
And I see the ".gitignore"
- And I click on "remove"
+ And I click on "Remove"
And I fill the commit message
And I click on "Remove file"
Then I am redirected to the files URL
@@ -70,23 +70,23 @@ Feature: Project Browse files
Scenario: I can browse directory with Browse Dir
Given I click on files directory
- And I click on history link
+ 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
+ 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
+ Given I click on History link
Then I see Browse code link
# Permalink
Scenario: I click on the permalink link from a branch ref
Given I click on ".gitignore" file in repo
- And I click on permalink
+ And I click on Permalink
Then I am redirected to the permalink URL
Scenario: I don't see the permalink link from a SHA ref
diff --git a/features/project/source/git_blame.feature b/features/project/source/git_blame.feature
index ae62c166c12..cb993ffc639 100644
--- a/features/project/source/git_blame.feature
+++ b/features/project/source/git_blame.feature
@@ -6,5 +6,5 @@ Feature: Project Browse git repo
Scenario: I blame file
Given I click on ".gitignore" file in repo
- And I click blame button
+ And I click Blame button
Then I should see git file blame