summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorSato Hiroyuki <sathiroyuki@gmail.com>2013-03-04 17:50:42 +0900
committerSato Hiroyuki <sathiroyuki@gmail.com>2013-03-04 17:50:42 +0900
commit95b826071f09f3bb63d663f2210e654609aace52 (patch)
tree8152cec4718d5d6aac128c15835e29e473379b3b /features/project
parentf8009a4858fba2db871d8aecf9480021489da37c (diff)
downloadgitlab-ce-95b826071f09f3bb63d663f2210e654609aace52.tar.gz
Add some tests for network graph
Diffstat (limited to 'features/project')
-rw-r--r--features/project/network.feature16
1 files changed, 16 insertions, 0 deletions
diff --git a/features/project/network.feature b/features/project/network.feature
index 31ce5ad3279..a6cbd2c4781 100644
--- a/features/project/network.feature
+++ b/features/project/network.feature
@@ -7,3 +7,19 @@ Feature: Project Network Graph
@javascript
Scenario: I should see project network
Then page should have network graph
+ And page should select "master" in select box
+ And page should have "master" on graph
+
+ @javascript
+ Scenario: I should switch ref to "stable"
+ When I switch ref to "stable"
+ Then page should have network graph
+ And page should select "stable" in select box
+ And page should have "stable" on graph
+
+ @javascript
+ Scenario: I should looking for a commit by SHA of "v2.1.0"
+ When I looking for a commit by SHA of "v2.1.0"
+ Then page should have network graph
+ And page should select "master" in select box
+ And page should have "v2.1.0" on graph