2012-06-16 10:03:20 +00:00
|
|
|
Feature: Project Network Graph
|
|
|
|
Background:
|
2012-09-10 13:35:23 +00:00
|
|
|
Given I sign in as a user
|
2012-06-16 10:03:20 +00:00
|
|
|
And I own project "Shop"
|
2012-08-22 02:20:09 +00:00
|
|
|
And I visit project "Shop" network page
|
2012-06-16 10:03:20 +00:00
|
|
|
|
2012-09-10 13:35:23 +00:00
|
|
|
@javascript
|
2012-06-16 10:03:20 +00:00
|
|
|
Scenario: I should see project network
|
|
|
|
Then page should have network graph
|
2013-03-04 08:50:42 +00:00
|
|
|
And page should select "master" in select box
|
|
|
|
And page should have "master" on graph
|
|
|
|
|
2015-07-29 01:15:23 +00:00
|
|
|
@javascript
|
|
|
|
Scenario: I should see project network with 'test' branch
|
|
|
|
When I visit project network page on branch 'test'
|
|
|
|
Then page should have 'test' on graph
|
|
|
|
|
2013-03-04 08:50:42 +00:00
|
|
|
@javascript
|
2013-04-25 13:05:22 +00:00
|
|
|
Scenario: I should switch "branch" and "tag"
|
2014-07-31 19:34:37 +00:00
|
|
|
When I switch ref to "feature"
|
|
|
|
Then page should select "feature" in select box
|
|
|
|
And page should have "feature" on graph
|
|
|
|
When I switch ref to "v1.0.0"
|
|
|
|
Then page should select "v1.0.0" in select box
|
|
|
|
And page should have "v1.0.0" on graph
|
2013-03-04 08:50:42 +00:00
|
|
|
|
|
|
|
@javascript
|
2013-04-25 13:05:22 +00:00
|
|
|
Scenario: I should looking for a commit by SHA
|
2014-07-31 19:34:37 +00:00
|
|
|
When I looking for a commit by SHA of "v1.0.0"
|
2013-03-04 08:50:42 +00:00
|
|
|
Then page should have network graph
|
|
|
|
And page should select "master" in select box
|
2014-07-31 19:34:37 +00:00
|
|
|
And page should have "v1.0.0" on graph
|
2013-04-14 09:15:35 +00:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I should filter selected tag
|
2014-07-31 19:34:37 +00:00
|
|
|
When I switch ref to "v1.0.0"
|
2016-03-14 05:09:42 +00:00
|
|
|
Then page should have "v1.0.0" in title
|
2014-07-31 19:34:37 +00:00
|
|
|
Then page should have content not containing "v1.0.0"
|
2013-04-14 09:15:35 +00:00
|
|
|
When click "Show only selected branch" checkbox
|
2016-03-14 05:09:42 +00:00
|
|
|
Then page should only have content from "v1.0.0"
|
2013-04-14 09:15:35 +00:00
|
|
|
When click "Show only selected branch" checkbox
|
2014-07-31 19:34:37 +00:00
|
|
|
Then page should have content not containing "v1.0.0"
|
2013-08-21 07:55:18 +00:00
|
|
|
|
|
|
|
Scenario: I should fail to look for a commit
|
|
|
|
When I look for a commit by ";"
|
2016-10-28 15:47:15 +00:00
|
|
|
Then I should see non-existent git revision error message
|