summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
Diffstat (limited to 'features/project')
-rw-r--r--features/project/issues/issues.feature1
-rw-r--r--features/project/issues/milestones.feature4
-rw-r--r--features/project/project.feature27
-rw-r--r--features/project/shortcuts.feature11
4 files changed, 27 insertions, 16 deletions
diff --git a/features/project/issues/issues.feature b/features/project/issues/issues.feature
index a15298fc452..28cc43ef710 100644
--- a/features/project/issues/issues.feature
+++ b/features/project/issues/issues.feature
@@ -189,6 +189,7 @@ Feature: Project Issues
Given I logout
Given public project "Community"
When I visit project "Community" page
+ And I visit project "Community" issues page
And I click link "New Issue"
And I should not see assignee field
And I should not see milestone field
diff --git a/features/project/issues/milestones.feature b/features/project/issues/milestones.feature
index 9ac65b1257c..bfbaaec5a35 100644
--- a/features/project/issues/milestones.feature
+++ b/features/project/issues/milestones.feature
@@ -17,6 +17,10 @@ Feature: Project Issues Milestones
And I submit new milestone "v2.3"
Then I should see milestone "v2.3"
+ Scenario: I delete new milestone
+ Given I click link to remove milestone "v2.2"
+ And I should see no milestones
+
@javascript
Scenario: Listing closed issues
Given the milestone has open and closed issues
diff --git a/features/project/project.feature b/features/project/project.feature
index 56ae5c78d01..089ffcba14a 100644
--- a/features/project/project.feature
+++ b/features/project/project.feature
@@ -18,9 +18,22 @@ Feature: Project
Then I should see the default project avatar
And I should not see the "Remove avatar" button
+ Scenario: I should have back to group button
+ And project "Shop" belongs to group
+ And I visit project "Shop" page
+ Then I should see back to group button
+
+ Scenario: I should have back to group button
+ And I visit project "Shop" page
+ Then I should see back to dashboard button
+
+ Scenario: I should have readme on page
+ And I visit project "Shop" page
+ Then I should see project "Shop" README
+
@javascript
Scenario: I should see project activity
- When I visit project "Shop" page
+ When I visit project "Shop" activity page
Then I should see project "Shop" activity feed
Scenario: I visit edit project
@@ -38,24 +51,12 @@ Feature: Project
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
- 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
- @javascript
- Scenario: I should have default tab per my preference
- And I own project "Forum"
- When I select project "Forum" README tab
- Then I should see project "Forum" README
- And I visit project "Shop" page
- Then I should see project "Shop" README
-
Scenario: I tag a project
When I visit edit project "Shop" page
Then I should see project settings
diff --git a/features/project/shortcuts.feature b/features/project/shortcuts.feature
index cfb68bf1f50..0f71c32380b 100644
--- a/features/project/shortcuts.feature
+++ b/features/project/shortcuts.feature
@@ -3,7 +3,7 @@ Feature: Project Shortcuts
Background:
Given I sign in as a user
And I own a project
- And I visit my project's home page
+ And I visit my project's commits page
@javascript
Scenario: Navigate to files tab
@@ -12,6 +12,7 @@ Feature: Project Shortcuts
@javascript
Scenario: Navigate to commits tab
+ Given I visit my project's files page
Given I press "g" and "c"
Then the active main tab should be Commits
@@ -46,7 +47,11 @@ Feature: Project Shortcuts
Then the active main tab should be Wiki
@javascript
- Scenario: Navigate to project feed
- Given I visit my project's files page
+ Scenario: Navigate to project home
Given I press "g" and "p"
Then the active main tab should be Home
+
+ @javascript
+ Scenario: Navigate to project feed
+ Given I press "g" and "e"
+ Then the active main tab should be Activity