gitlab-org--gitlab-foss/features/project/network_graph.feature

47 lines
1.6 KiB
Gherkin
Raw Normal View History

2012-06-16 06:03:20 -04:00
Feature: Project Network Graph
Background:
Given I sign in as a user
2012-06-16 06:03:20 -04:00
And I own project "Shop"
And I visit project "Shop" network page
2012-06-16 06:03:20 -04:00
@javascript
2012-06-16 06:03:20 -04:00
Scenario: I should see project network
Then page should have network graph
2013-03-04 03:50:42 -05:00
And page should select "master" in select box
And page should have "master" on graph
@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 03:50:42 -05:00
@javascript
Scenario: I should switch "branch" and "tag"
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 03:50:42 -05:00
@javascript
Scenario: I should looking for a commit by SHA
When I looking for a commit by SHA of "v1.0.0"
2013-03-04 03:50:42 -05:00
Then page should have network graph
And page should select "master" in select box
And page should have "v1.0.0" on graph
2013-04-14 05:15:35 -04:00
@javascript
Scenario: I should filter selected tag
When I switch ref to "v1.0.0"
Then page should have "v1.0.0" in title
Then page should have content not containing "v1.0.0"
2013-04-14 05:15:35 -04:00
When click "Show only selected branch" checkbox
Then page should only have content from "v1.0.0"
2013-04-14 05:15:35 -04:00
When click "Show only selected branch" checkbox
Then page should have content not containing "v1.0.0"
Scenario: I should fail to look for a commit
When I look for a commit by ";"
Then page status code should be 404