2015-04-26 12:48:37 +05:30
|
|
|
Feature: Project Commits Tags
|
2014-09-02 18:07:02 +05:30
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
|
|
|
And I own project "Shop"
|
|
|
|
Given I visit project tags page
|
|
|
|
|
|
|
|
Scenario: I can see all git tags
|
|
|
|
Then I should see "Shop" all tags list
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
Scenario: I create a tag
|
|
|
|
And I click new tag link
|
|
|
|
And I submit new tag form
|
|
|
|
Then I should see new tag created
|
|
|
|
|
2015-11-26 14:37:03 +05:30
|
|
|
Scenario: I create a tag with release notes
|
|
|
|
Given I click new tag link
|
|
|
|
And I submit new tag form with release notes
|
|
|
|
Then I should see new tag created
|
|
|
|
And I should see tag release notes
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
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
|
|
|
|
|
|
|
|
Scenario: I delete a tag
|
2015-11-26 14:37:03 +05:30
|
|
|
Given I visit tag 'v1.1.0' page
|
2015-04-26 12:48:37 +05:30
|
|
|
Given I delete tag 'v1.1.0'
|
|
|
|
Then I should not see tag 'v1.1.0'
|
|
|
|
|
2015-11-26 14:37:03 +05:30
|
|
|
Scenario: I add release notes to the tag
|
|
|
|
Given I visit tag 'v1.1.0' page
|
|
|
|
When I click edit tag link
|
|
|
|
And I fill release notes and submit form
|
|
|
|
Then I should see tag release notes
|