37 lines
1.1 KiB
Gherkin
37 lines
1.1 KiB
Gherkin
Feature: Project Feature
|
|
Background:
|
|
Given I sign in as a user
|
|
And I own project "Shop"
|
|
And project "Shop" has push event
|
|
And I visit project "Shop" page
|
|
|
|
@javascript
|
|
Scenario: I should see project activity
|
|
When I visit project "Shop" page
|
|
Then I should see project "Shop" activity feed
|
|
|
|
Scenario: I visit edit project
|
|
When I visit edit project "Shop" page
|
|
Then I should see project settings
|
|
|
|
Scenario: I edit project
|
|
When I visit edit project "Shop" page
|
|
And change project settings
|
|
And I save project
|
|
Then I should see project with new settings
|
|
|
|
Scenario: I change project path
|
|
When I visit edit project "Shop" page
|
|
And change project path settings
|
|
Then I should see project with new path settings
|
|
|
|
Scenario: I should see project readme and version
|
|
When I visit project "Shop" page
|
|
Then I should see project "Shop" README link
|
|
And I should see project "Shop" version
|
|
|
|
Scenario: I should change project default branch
|
|
When I visit edit project "Shop" page
|
|
And change project default branch
|
|
And I save project
|
|
Then I should see project default branch changed
|