2014-10-02 16:42:54 +00:00
|
|
|
Feature: Project Commits Tags
|
2012-09-10 11:27:11 +00:00
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
2012-06-15 04:15:28 +00:00
|
|
|
And I own project "Shop"
|
|
|
|
Given I visit project tags page
|
|
|
|
|
|
|
|
Scenario: I can see all git tags
|
2012-08-03 16:59:55 +00:00
|
|
|
Then I should see "Shop" all tags list
|
2012-06-15 04:15:28 +00:00
|
|
|
|
2014-07-27 17:56:33 +00:00
|
|
|
Scenario: I create a tag
|
|
|
|
And I click new tag link
|
|
|
|
And I submit new tag form
|
|
|
|
Then I should see new tag created
|
|
|
|
|
|
|
|
Scenario: I create a tag with invalid name
|
|
|
|
And I click new tag link
|
|
|
|
And I submit new tag form with invalid name
|
|
|
|
Then I should see new an error that tag is invalid
|
|
|
|
|
|
|
|
Scenario: I create a tag with invalid reference
|
|
|
|
And I click new tag link
|
|
|
|
And I submit new tag form with invalid reference
|
|
|
|
Then I should see new an error that tag ref is invalid
|
|
|
|
|
|
|
|
Scenario: I create a tag that already exists
|
|
|
|
And I click new tag link
|
|
|
|
And I submit new tag form with tag that already exists
|
|
|
|
Then I should see new an error that tag already exists
|
|
|
|
|
2014-08-17 14:21:31 +00:00
|
|
|
@javascript
|
|
|
|
Scenario: I delete a tag
|
|
|
|
Given I delete tag 'v1.1.0'
|
|
|
|
Then I should not see tag 'v1.1.0'
|
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I delete all tags and see info message
|
|
|
|
Given I delete all tags
|
|
|
|
Then I should see tags info message
|
|
|
|
|
2012-09-10 11:27:11 +00:00
|
|
|
# @wip
|
|
|
|
# Scenario: I can download project by tag
|